Bat file to restart
Solved
mickael97470
Posted messages
36
Status
Member
-
mickael97470 Posted messages 36 Status Member -
mickael97470 Posted messages 36 Status Member -
Hello,
I would like to know if someone knew the commands to put in a .bat file to restart a computer?
I would like to know if someone knew the commands to put in a .bat file to restart a computer?
Configuration: Windows Vista Internet Explorer 8.0
20 answers
-
Hi,
You put:
shutdown -r
Don't forget to save with the .bat extension :)
cya++ -
Thank you, don't worry, I use my batch files for a good purpose ;)
-
-
-
-
-
-
-
Mickael96470, what software are you using? Thank you because I was about to look for one.
Thanks in advance. -
the notepad is sufficient! (personally, I use the notepad)
-
-
when he asks you to save, you delete the *.txt, you enter the name of your work and at the end you put .bat, then you click on types and you set it to all files
-
You type shutdown /? in a cmd window.
And it shows all the switches.
Bilou.
--
There are days you just shouldn't mess with me.
And there are days it's every day! -
-
ok and there it works normally
thank you very much mickael96470 -
-
-
ok thanks to you I'm going to be able to create bat files.
-
To respond to mickael97470, in a Batch you put the switches you want.
Example:
shutdown -s -t 20 -c "Good Night"
When you type /? after a console, it's just to get the help and also the switches.
Bilou
--
There are days you shouldn't mess with me.
And there are days every day! -