Just a quick note to add an information.

A the link below you may find choice.exe source and compiled program.

http://winsupport.org/utilities/freedos-choice.html

It should be usefull to help you to do this kind of menu quickly.

I just tested it under XP and it seems to work well.

Jimmy. 

-----Message d'origine-----
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Stephen
Envoyé : lundi 17 septembre 2007 00:43
À : [EMAIL PROTECTED]
Objet : Re: [Ql-Users] batch file

You could supply choice.exe alongside your batch - it works with the 
later OS's, but it's an extra 48k for one function.

SET /P variable=[promptString]
appears to be the official XP method but I'm confident you'll find it 
doesn't work with the older OS's.

Relative paths should do what you want but you'll need to set the drive 
where the batch resides to be the active one at the outset.  Getting the 
current drive and path using batch-files is quite fiddly and, again, 
probably varies with DOS version.

-- 
Regards,

Stephen

_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm

_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm

Reply via email to