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,706 of 42,547    |
|    Todd Vargo to Herbert Kleebauer    |
|    Re: Enviroment variables not staying aft    |
|    27 Jul 13 09:18:30    |
      From: tlvargo@sbcglobal.netz              On 7/27/2013 3:49 AM, Herbert Kleebauer wrote:       > On 26.07.2013 23:44, Todd Vargo wrote:       >       >>> Unfortunately, it stays at one.       >>       >> Sorry, like foxi, when I remove the trailing spaces, and the batch is       >> run multiple times in the same command window, the counter works       >> correctly for me.       >       > But not if "count" already has an illegal value (maybe 1 followed by a       > space). So it is always a good idea to check for illegal input.       >              An unremoved trailing space is an illegal value. Perhaps that is a clue       to OP's problem.              --       Todd Vargo       (Post questions to group only. Remove "z" to email personal messages)              --- 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