batch file - I need help writing an if () then command -
i trying write file kills every task runs. know how kill these tasks need writing if () then command. want make if command prompt closed then computer logs off. mention, know how log off command shutdown /l. can please me this?
use autohotkey run in background:
@echo off :loopme start /wait "c:\path\to\batch.file.bat" goto loopme
put in startup folder in start menu... and... voila!
hope helps! ~css
Comments
Post a Comment