quote:
Originally posted by CookieRevised
code:
@ECHO OFF
tasklist | find /i "synergys.exe" 1>NUL 2>&1
IF %ERRORLEVEL% EQU 0 (
taskkill /f /t /im synergys.exe
"c:\program files\ultramon\ultramon.exe" /e
)
IF %ERRORLEVEL% EQU 1 (
"c:\program files\synergy\synergys.exe" -a pieceofcrap:24800 -d FATAL
"c:\program files\ultramon\ultramon.exe" /d
)
use the start command instead.
so
start "c:\program files\synergy\synergys.exe" -a pieceofcrap:24800 -d FATAL
start "c:\program files\ultramon\ultramon.exe" /d