Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.msdos.batch    |    Fun with MS-DOS batch files    |    42,547 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 41,066 of 42,547    |
|    foxidrive to Nick    |
|    Re: [MSDOS7] if ".echo off"==".echo off"    |
|    25 Dec 14 12:19:30    |
      From: foxidrive@server.invalid              On 25/12/2014 07:07, Nick wrote:              > -Do you need to test if Windows 95 is running to branch elsewhere in your       code?       >       > It's actually an exercise in almost the opposite; trying to make a simple       > "Windows neutral" batch file as compatible as reasonably possible with       > both 9x and NT based systems without bogging it down with unnecessary OS       > checks, and potentially limiting or flawed assumptions based on such checks.                     > -What do you actually need to do?       >       > What I'm wanting to do with the code I posted is to test if 'SET' handle the       /P       > switch, i.e. is able to create a variable, and assign a users input as it's       > value.                     @echo off       set /p=a |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca