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,987 of 68,980    |
|    novice to novice    |
|    Re: Tasklist and PID    |
|    29 Jul 17 21:49:11    |
      From: novice@invalid.fi.inv              I found a solution. This batch work;              @echo off       setlocal enableextensions       :start       timeout /t 600       tasklist | find/i "4952" >nul       if %errorlevel% EQU 0 goto found       echo Not running       goto notfound       :found       echo Running       goto start       :notfound       echo call c:\bat\second.cmd       :eof                     "novice" |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca