"choice" batch command xp

  djbenny 21:15 29 Nov 07

how can i get this command to work in xp?

  MAJ 21:19 29 Nov 07

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

  DieSse 21:40 29 Nov 07

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 07

Here tells you what to use instead click here

  djbenny 22:16 29 Nov 07

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 07

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

  Eric10 08:41 30 Nov 07

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.

Sniper Elite 4 review: Headshotting Nazis has never felt so good

1995-2015: How technology has changed the world in 20 years

The Best Design, Illustration, Animation and VFX Awards of 2017

WWDC 2017 dates: How to get WWDC 2017 tickets, when is WWDC 2017 and more details announced