Batch File Help
Create a text document–> open it and write: "shutdown -r -f" – for restart and "shutdown -s -f" – for shutdown
After that save it as whatever.bat and just double clikc on it!
I think these are the right commands. I hope i helped you.. If you wanna find more.. try typing "shutdown" in the command line for help..
pRAkNi
Create a text document–> open it and write: "shutdown -r -f" – for restart and "shutdown -s -f" – for shutdown
After that save it as whatever.bat and just double clikc on it!
I think these are the right commands. I hope i helped you.. If you wanna find more.. try typing "shutdown" in the command line for help..
pRAkNi
Correct ^^ But if you want to use it on a Win9x system (Windows 95, 98 or ME) you should put this in the batch file instead:
For shutting down:
markupSTART "C:\WINDOWS\RUNDLL32.EXE user,exitwindows"
For rebooting:
markupSTART "C:\WINDOWS\RUNDLL.EXE user.exe,exitwindowsexec"
Good luck!
…hi there…
this is for windows XP.
@echo off shutdown -s -f -t 00
you won't see the syntax executing because of @echo off. this will shut down all services,without asking as soon as you double click.
you could make:
@echo shutdown -s -f -t 00 -c "bye bye :gha:"
same here,accept it echoes the text you type.
hope it's of any help.
peace.