Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- tasklist|find /i /c "2011-11-02aRagexeRE.exe.patched.exe" > nul
- set INSTANCE=%errorlevel%
- if "%INSTANCE%"=="0" goto already
- start 2011-11-02aRagexeRE.exe.patched.exe 1sak1 /account:sci.xml %1
- ::TESTING
- :: «%1» is the name and path of the file you want to run.
- ::goto end
- :already
- ::echo. & echo Client is already running somewhere.
- ::echo. & echo Tap spacebar to conclude this batch file.
- ::pause>nul
- :end
- ::set INSTANCE=
- ::exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement