[<<]Message[>>]    [<<]Author[>>]    [<<]Subject[>>]    [<<]Thread[>>]

Number : 9447 Date : 2004-12-06 Author : Garry Deane Subject : Re: Good Old Choise Command Size(KB) : 1
--- In xxcopy@yahoogroups.com, "des4212001" wrote: > Yes no Choise in NT Commands was clear. But... I didn't know > about "set /P"! And short of starting to read at "A" it would > have been a while down to "S". That will fill the bill nicely > thank you. I'll get to WBAT (even had that site filed in > Favorites under Computer Stuff\Software\DOS\, but then I have > a lot of stuff Stuffed here & there). No real excuse, but > first I always go out of my way trying to avoid CMD, only > to be forced back if I want to get anything done! For instance, > I followed xxcopy for 1 1/2 years before trying to actually > use it myself, and guess what, it's only several times better > than what I was doing previously! > > Thanks Again: DES In fact CHOICE.EXE was available in NT if you bought the Resource Kit. Later it became available as a free download from MS. It was also possible to use a w9x/DOS copy of CHOICE.COM. However none of these actually worked very well in the multitasking NT+ environment and had a habit of failing when invoked several times. I now use a CHOICE substitute called GETKEY from http://mywebpages.comcast.net/stewartb/ Bill's writeup explains the benefits, but for me, having a timeout makes CHOICE/GETKEY superior to SET/P. GETKEY works pretty much the same as CHOICE but with slightly different syntax. A simple example is: getkey -k YN -n -d Y -t Y,10 -p "Proceed with backup? : " if errorlevel 2 goto :eof :: Do the backup Garry
This message if part of XXCOPY's message Archive. The archive contains all the messages posted at Yahoo!Groups: XXCOPY.