-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dilwyn Jones wrote:
> I need some help to create a little DOS batch file to select QL 
> emulators.
> 
> My flash memory drive has QPC, QemuLator and QLay on it, so I need to 
> write a short batch file to select which one to start. Something in 
> dos along the lines of:
> 
> Which would probably involve some echo commands etc, but I don't know
> how to ask for input in dos.
>
cls
echo 1-QPC2
echo 2-QemuLator
echo 3-QLay
echo 4-Quit

echo Which one? /C:1234
IF errorlevel 4 goto QUIT
IF errorlevel 3 goto QLAY
IF errorlevel 2 goto QEMULATOR
IF errorlevel 1 goto QPC2

:QUIT
cls
exit

:QLAY
echo QLAY
c:\qpc2\qpc2.exe
cls
exit

:QEMULATOR
echo QEMULATOR
c:\Q-emuLator\QemuLator.exe
cls
exit

:QPC2
echo QPC2
c:\qlay2\qlay2.exe
cls
exit


Tony

- --
QBBS (QL fido BBS 2:257/67) +44(0)1442-828255
       [EMAIL PROTECTED]     http://firshman.co.uk
Voice: +44(0)1442-828254 Fax: +44(0)1442-828255 Skype: tonyfirshman
    TF Services, 29 Longfield Road, TRING, Herts, HP23 4DG
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG7W+4M3RzOs8+btoRAlmXAJ9z2Bd4K9VNut0mZ94rgi1TSDljmgCfQKbf
2hAGlAuaHO2k6wPBTyG7Tp0=
=KAM/
-----END PGP SIGNATURE-----
_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm

Reply via email to