"choice" batch command xp

  djbenny 21:15 29 Nov 2007
Locked

how can i get this command to work in xp?

  MAJ 21:19 29 Nov 2007

click here What exactly are you trying to do in your batch file, djbenny?

  DieSse 21:40 29 Nov 2007

From the xp command prompt help for choice

"choice is not recognised as an internal or external command, operable program or batchfile."

so basically you can't because it doesn't exist.

For help on any command in the XP Dos emulator, at the prompt type

nameofcommand /?

  DieSse 21:44 29 Nov 2007

Here tells you what to use instead click here

  djbenny 22:16 29 Nov 2007

doing a script for university menu driven and using the choce script for the menu...

it works in vista ok just not xp...

  DieSse 22:33 29 Nov 2007

Vista has an expanded DOS emulator compared with XP - you'll just have to do it a different way.

  Eric10 08:41 30 Nov 2007

You can download an MS-DOS 6.22 Supplemental Disk from click here which includes Choice.com but you would have to make the file available to all PCs that need to run your script.
Using SET as outlined in the link by DieSse would be a better method if you have the choice. (No pun intended).

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

OnePlus 5 review

Alice Saey's mesmerising animation for Dutch singer Mark Lotterman

iPad Pro 10.5in (2017) review

Comment booster votre iPhone ?