error bad command or file name
Posted: 28 Jun 2010 11:55
hi
im using windows 98 boot disk.
i seem to be getting the error around the choice part i think
could anyone help
thanks
im using windows 98 boot disk.
i seem to be getting the error around the choice part i think
could anyone help
thanks
Code: Select all
@echo off
:menu
cls
echo programs MENU
echo ==========
echo.
echo 1 - pqmagic
echo 2 - pqdi
echo 3 - editbini
echo 4 - ghost3
echo 5 - ptedit
echo 6 - Quit
echo.
choice /c:123456>nul
if errorlevel 6 goto done
if errorlevel 5 goto ptedit
if errorlevel 4 goto ghost3
if errorlevel 3 goto editbini
if errorlevel 2 goto pqdi
if errorlevel 1 goto pqmagic
goto menu
:pqmagic
cd pmdos
pqmagic
goto menu
:pqdi
cd pqdi
pqdi
goto menu
:editbini
cd editbini
editbini
goto menu
:ghost3
cd ghost3
ghost
goto menu
:ptedit
cd ptedit
ptedit
goto menu