From: gazelle@shell.xmission.com   
      
   In article <1ld0lk0k0levj$.1egaaal5wl6an.dlg@40tude.net>,   
   JJ wrote:   
   >On Wed, 21 Feb 2024 19:57:14 -0000 (UTC), Kenny McCormack wrote:   
   >> Is there something in Windows XP that can be used to make choices in a   
   >> batch file?   
   >>   
   >> Under Win7, I use "choice.exe", but I can't seem to get that to work under   
   XP.   
   >>   
   >> I have a vague memory of there being something like this - maybe going back   
   >> all the way to DOS days - but I can't remember what it was called now.   
   >   
   >If your WinXP is 32-bit...   
   >   
   >You can use CHOICE.COM (DOS program) from MS-DOS v6.22 or from DOS boot   
   >floppy disk images which are widely availavle in the net. You can use 7-Zip   
   >to open the DSK/IMG floppy disk images.   
   >   
   >Alternatively, you can use CHOICE.EXE (DOS program) from FreeDOS.   
      
   Success!   
      
   I was able to boot up an old Win98 VM (hadn't been used since 2016) and   
   copy the CHOICE.COM from there. It seems to have pretty much the same   
   functionality as the one in Win7.   
      
   A couple of strange things I noticed when running this CHOICE.COM under XP   
   (in a CMD window):   
      
    1) The first time I ran it on XP, it took a long time (maybe 15-30 seconds)   
    to start up. I was panicked for a bit 'cause I thought it may have   
    crashed the machine. Anyway, I assume it was loading some 16 bit   
    subsystem in XP. After that first time, though, it runs fine   
    (launches right up).   
    2) It changes my prompt to something weird with ~s in it (i.e.,   
    everything gets forced to 8.3 conventions). cd'ing to %homepath%   
    fixes this, so no worries... Still jarring to the eye, though.   
      
   A couple of other notes:   
    1) Still wondering how/why they left this out of XP...   
   (They must have realized the error of omission when they put Win7 together)   
    2) In case anyone was wondering, the reason the Win7 version doesn't   
    work under XP is that it (the Win7 version) is a 64 bit executable.   
      
   --   
   If your answer to the question below is any number other than 1, then you're   
   an atheist.   
      
   Q: How many religions are worthy of respect? (i.e., how many religions are   
   valid?)   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|