"choice" batch command xp

  djbenny 21:15 29 Nov 2007

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

Honor 9 Lite review

How Social Media has Propelled Political Graphic Design and Art in the Last Decade

The best kids apps for iPhone & iPad 2018

HomePod d’Apple : date de sortie, prix et fiche technique