12-15-2003, 08:14 AM
|
#2 |
| Posse Member Ultimate Scripter ioFTPD Administrator
Join Date: Dec 2002
Posts: 2,022
|
off the chart, pslist.exe, from the PSTools package, can also report is an app is running or not...
:checkrunning
pslist windrop > nul
if errorlevel 1 goto restart
echo Eggdrop already running...
goto end
Note: on the pslist line, don't use windrop.exe, just windrop, or whatever your .exe is named.
|
| |