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 66,989 of 68,980   
   Herbert Kleebauer to novice   
   Re: Tasklist and PID   
   29 Jul 17 21:43:52   
   
   From: klee@unibwm.de   
      
   On 29.07.2017 20:49, novice wrote:   
      
    >> (I know, I can start two batch like this first.cmd & second.cmd, but this   
    >> situation are when first is already running and you want to run second   
    >> batch after first and you don't want to cancel first batch).   
      
   > I found a solution. This batch work;   
      
   > :notfound   
   > echo call c:\bat\second.cmd   
   > :eof   
      
      
   Why not just insert a line at the end of the first batch:   
      
   if exist token.txt del token.txt & call c:\bat\second.cmd   
      
   If you want to run the second batch file, just create the   
   file token.txt while the first batch is running.   
      
   --- 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