when i run this it wont stay on screen why

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
flyhigh427
Posts: 7
Joined: 07 Mar 2010 09:14

when i run this it wont stay on screen why

#1 Post by flyhigh427 » 07 Mar 2010 09:20

Code: Select all

@echo off



:start
cls   
echo          ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
echo          º    Main Menu       º
echo          ÌÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͹
echo          º 1.power quest  di  º
echo          º 2.ghost 2003       º
echo          º 3.power quest magicº
echo          º 4.ptedit           º
echo          º 5.editbini         º
echo          º 6.ptsde104         º
echo          º 7.Shell to DOS     º
echo          ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
choice:/c1234567

if errorlevel 7 goto exit
if errorlevel 6 goto ptsde104
if errorlevel 5 goto editbini
if errorlevel 4 goto ptedit
if errorlevel 3 goto pmdos
if errorlevel 2 goto ghost
if errorlevel 1 goto pqdi

:pqdi
cd\
cd pqdi
pqdi
GOTO start


:ghost
cd\
cd ghost3
ghost
GOTO start

:pmdos
cd\
cd pmdos
pqmagic
GOTO start

:ptedit
cd\
cd ptedit
ptedit
GOTO start

:editbini
cd\
cd editbini
editbini
GOTO start

:ptsde104
cd\
cd ptsde104
de
GOTO start

:exit
cls
cd\
cls









aGerman
Expert
Posts: 4678
Joined: 22 Jan 2010 18:01
Location: Germany

Re: when i run this it wont stay on screen why

#2 Post by aGerman » 07 Mar 2010 10:32

choice:/c1234567

Wrong place for a colon.

Code: Select all

choice /c:1234567
::otherwise
choice /c "1234567"

Post Reply