Hi! Want to do some fun with your friends. In this post, I'm gonna tell you about shutdown, restart, log off your computer continuously, follow these steps:
- For Shut down:
- Copy and paste the following code in notepad and save it as shut.batshutdown -s -t 8 -c "Bye Bye!"
- Save batch file in Startup folder C:\ Documents and Settings\ USER\ Start Menu\ Programs\ Startup (where USER is your user name)
- Copy and paste the following code in notepad and save it as shut.bat
- For Log off:
- Copy and paste the following code in notepad and save it as shut.batshutdown -l -t 8 -c "Bye Bye!"
- Save batch file in Startup folder C:\ Documents and Settings\ USER\ Start Menu\ Programs\ Startup (where USER is your user name)
- Copy and paste the following code in notepad and save it as shut.bat
- For Restart:
- Copy and paste the following code in notepad and save it as shut.batshutdown -r -t 8 -c "Bye Bye!"
- Save batch file in Startup folder C:\ Documents and Settings\ USER\ Start Menu\ Programs\ Startup (where USER is your user name)
- Copy and paste the following code in notepad and save it as shut.bat
Note: Don't save it on your own computer. Above codes will shutdown, log off, restart computer every time after 8 seconds of system start up.
Shutdown is very powerful command, you can know more about it by typing shutdown /? in cmd. Startup is the folder which contains file which have to start on system startup. So If you want to start any program or any file, folder then simply then simply paste it in startup folder. suppose if I place notepad's shortcut in this folder then notepad will display on ur system startup. So you can do whatever you wish with this command & startup folder.
Shutdown is very powerful command, you can know more about it by typing shutdown /? in cmd. Startup is the folder which contains file which have to start on system startup. So If you want to start any program or any file, folder then simply then simply paste it in startup folder. suppose if I place notepad's shortcut in this folder then notepad will display on ur system startup. So you can do whatever you wish with this command & startup folder.
Thank you for your comment.