I am trying to write a file that kills every task that runs. I know how to kill these tasks but I need help writing an if () then command. All I want to do is make it to where if the command prompt is closed then the computer logs off. To also mention, I know how to do the log off command which is shutdown /l. Can anyone please help me with this?
Aucun commentaire:
Enregistrer un commentaire