Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.msdos.batch.nt    |    Fun with Windows NT batch files    |    68,980 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 67,162 of 68,980    |
|    npocmaka to All    |
|    Re: [call if] how to using Impossible Sy    |
|    20 Feb 18 06:53:41    |
      From: npocmaka@gmail.com              call cmd /c if "%%z_var[1]%%" equ "%%z_var5%%" (        call set z_var[1]=2        call echo %%z_var[1]%%-----------2       )                     this is not correct I think. The two lines in after the opening bracket will       be executed always. Both call and cmd /c are executing commands until the end       of the line or redirection/conditional execution operator.              --- 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