Community → Programming Forum
Posted Apr 27, '11 at 5:21pm
AncLEoniX
1 post
Does anyone know how to create a batch file message and shutdown of a computer?
Posted Apr 27, '11 at 10:07pm
Darkroot
2,523 posts
Use google it's your best friend. Only post when you want to discuss something or you really did try and look for an answer and couldn't.
Posted Apr 27, '11 at 10:22pm
Microe
863 posts
Well open up a text file. Look up a google batch code like...
shutdown -s -t 30 -c
then save the document as a .bat file
When someone clicks it....poof.
Posted Apr 29, '11 at 10:05am
Dannydaninja
876 posts
So Microe, if someone posted a link to the file on this very topic, there computer would just shut down?
Posted Apr 29, '11 at 10:06am
master565
3,869 posts
Only if they download and open it i think.
Posted Apr 29, '11 at 10:18am
Oh good. I hate it when those cheeky yet smart hackers stuff up my computer.
Posted May 5, '11 at 11:57am
Secretmapper
710 posts
Yes, I can confirm this. Still, try putting it in the startup folder. That way, it'll automatically run everytime you open the computer. (won't work on safe mode though)
Posted Nov 3, '11 at 4:41am
Llamasushi
77 posts
If you want to stop the shutdown...go to control panel and type shutdown -a :P
Posted Nov 13, '11 at 11:33am
Somewhat49
1,584 posts
They could always set it so when you download the web page, the .bat downloads with it, and when you open to read the page, the .bat opens with it.
You must be logged in to post a reply!