r/computer_programming • u/AlmightyToastGod • Nov 06 '17
Basic Computer Commands
Just looking for some help with basic computer commands for a LAN. Some colleagues and i have a LAN where we just mess with each other, and so far all I've got set up is a .bat file to prevent shutdown. However, somebody task killed it then shut me down. I'd like to be able to prevent this
2
Upvotes
View all comments
Show parent comment
1
u/Derpcock Nov 06 '17
Yes. With windows 7 and earlier you can drop you batch file into the startup directory and it will run every time you login. With windows 10 you could probably do it with the task scheduler.