Wow...what a change here..first time i seen the forum like this..i like it.
IS this website running of a unix type?? im guessing because of the carriage returns
anyways...on your script...you can do all that you want to with a bootdisk.
you SHOULD not have to go back to the boot menu.
Alot of the reasons' people think they NEED to do that is because of volume labels
some programs require volume labels...however. With xcopy and a utility out there that i cant
remember the name of...you can copy all your files to the ram drive and rename the volume label.
heres a rough go at your menu...this might be somewhat off because i have not made a win98 .bat
in about 6 months now.
put this in your autoexec.bat file...or better yet in its own .bat file and call it...then you would pass in
%1 %2 %3 .... and use shift incase you want to automate a startup routine...(quicker atleast)
@echo off
:_start
CLS
echo.
echo Welcome to this menu
echo.
echo Press a to start scandisk
echo Press b to start partition magic
echo Press c to start DAO32
echo Press d to check if you have a ASPI installed (if not one will be installed to support burning)
echo Press e to exit
echo Press f to reboot (you will need reboot for this)
echo.
echo.
CHOICE \"Waiting forever for your choice...\" /C:abcdef
IF ERRORLEVEL=6 GOTO _reboot
IF ERRORLEVEL=5 GOTO _eof
IF ERRORLEVEL=4 GOTO _aspi
IF ERRORLEVEL=3 GOTO _dao
IF ERRORLEVEL=2 GOTO _pmagic
IF ERRORLEVEL=1 GOTO _scandisk
CLS
echo.
echo Invalid choice...press any key and try again
pause >nul
GOTO _start
::
:: try not to use empty lines in .bat files and :: is a better and more universal comment than REM..plus 1 less byte...

http://images.thetechguide.com/forum/public/style_emoticons/<#EMO_DIR#>/smile.gif\' class=\'bbc_emoticon\' alt=\'

\' />...dos isnt that big

http://images.thetechguide.com/forum/public/style_emoticons/<#EMO_DIR#>/smile.gif\' class=\'bbc_emoticon\' alt=\'

\' />
:_reboot
reboot.exe
GOTO _start
:: The above really dont matter i guess

http://images.thetechguide.com/forum/public/style_emoticons/<#EMO_DIR#>/smile.gif\' class=\'bbc_emoticon\' alt=\'

\' />
:_aspi
CALL aspi.bat
:: put a decent aspi manager in the above .bat file
GOTO _start
:_dao
dao16.exe
:: this is a burning app...can be found at
www.goldenhawk.com...16bit version is needed for dos
GOTO _start
:_pmagic
echo.
echo Preparing to start partition magic
xcopy %cdrom%:\pmagic\*.* %ramdrive%:\ >nul
lable.exe x: %whatevertheneededvolumelabelIs%
:: In the above there is a work around for this so you dont need to change the V.Label..ive never done it though
GOTO _start
:_scandisk
scandisk.exe
GOTO _start
:_end
echo.
echo Thanks for shopping...due come again
echo.
ping 127.0.0.1 >nul
:: you dont need to use ping...you can create a delay with the CHOICE.COM's timeout switch...or use ping
FOR %%i IN (%ramdrive%:\*.*) DO DEL %%i >nul
exit