home bbs files messages ]

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,749 of 68,980   
   Herbert Kleebauer to Peter   
   Re: Strange Batch Fil Problem & Fix   
   16 Jul 21 11:49:03   
   
   From: klee@unibwm.de   
      
   On 16.07.2021 02:22, Peter wrote:   
      
   >> =================================   
   >> :wait-Z   
   >> if %counter%==5 goto Start-N   
   >> timeout 1 > nul   
   >> set /A counter=%counter%+1   
   >> if not exist z:\transfer\batch goto wait-Z   
   >> =================================   
      
   > 2) The problem is caused by the bottom line shown above.   
   > The batch file terminates when it hits that line.  If I change  > it from   
   "wait-Z" to "wait-ZZ" there's no problem.  I hope this   
   > clarifies the issue.   
      
   No, it doesn't clarify anything, you not even showed us the   
   error message. Remove anything from the batch file which   
   is not necessary to reproduce the error and then post   
   this batch. Did you try to change it back to wait-z (or   
   wait-x) after it worked with wait-zz?   
      
   --- 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