![]()
[<<]Message[>>] [<<]Author[>>] [<<]Subject [<<]Thread
Number : 4016 Date : 2003-03-10 Author : Garry Deane Subject : Re: DOS Chlice Command Size(KB) : 0
--- In xxcopy@yahoogroups.com, "Jim Sperger" wrote: > I have just moved from 98SE to XP and find the Dos Choice > command no longer works. I have long used this to create > a menu for selection of which xxcopy back up to execute. > > Is there another Dos command or is there a third party > Choice command available? You can use CHOICE from the Resource Kit or even a copy of the W98 version but it is not really recommended because CHOICE doesn't work correctly in a multitasking environment (at a minimum, the default delay part can have problems). In W2k/XP and above, you can use SET /P to do the work of CHOICE. :ask set /p "choice=Enter Y or N to proceed [Y]: " if not defined choice set choice=Y if /i %choice%==N goto :abort if /i %choice%==Y goto :proceed echo Enter Y or N & goto :ask There are also a number of freeware replacements for Choice such as Bill Stewart's GetKey (http://mywebpages.comcast.net/stewartb/files/getkv8.zip) Garry
This message if part of XXCOPY's message Archive. The archive contains all the messages posted at Yahoo!Groups: XXCOPY.