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,748 of 68,980   
   Tom Del Rosso to Peter   
   Re: Strange Batch Fil Problem & Fix   
   17 Jul 21 21:40:22   
   
   From: fizzbintuesday@that-google-mail-domain.com   
      
   Peter wrote:   
   >   
   > Thank you to those who replied!  Let me clarify a couple of things.   
   > 1) The counter is not the problem.  It's working fine.  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 clear answer yet.   
      
   Is there any other line with "wait" or any file with that name?   
      
   Is wait__ a variable name? Dump the environment by adding "set&pause" in   
   the batch, especially right before the problem line.   
      
   Does z:\transfer\batch exist?   
      
   Does the line [if not exist z:\transfer\batch goto wait-Z] have a colon   
   before wait?   
      
   Do you run from the command line or by clicking on it?   
      
   Try running from the command line (not by clicking on it) so you can see   
   all output, but first put "echo A"..."echo Z" in between the other   
   lines. That will give a "trace" output to show what lines really   
   executed.   
      
      
   --   
    Defund the Thought Police   
      
   --- 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