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 40,783 of 42,547    |
|    Gary Segal to All    |
|    IF > 0    |
|    13 Nov 13 07:32:39    |
      From: segalgary@gmail.com              Hi Guys       Does anyone knows what is the proper syntax for IF?              here is my logic:       Set /a WIL# = 000001       ECHO %WIL#%              the logic below will work either way if WIL# > 0 or = 0              IF NOT CHA# == 0 (Do something)              what is the correct syntax?       I need it work like this - IF CHA# > 0 (Do something)       Any ideas?       Thank you              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca