2 ส.ค. 2554

Create the "shutdown.bat" file


The "shutdown.bat" file is a batch file that can allow you to auto-launch applications and perform tasks just by opening it up. You can make this batch file do pretty much any Windows function you want, but for this tutorial, we are going to write a script to shutdown the computer. Here's how:

1. Open up "Notepad" by going to Start > Run > "Notepad" and then click OK.
2. In the notepad editor, type in:
c:\windows\system32\shutdown -s -f -t 00

ref: http://www.instructables.com/id/Remotely-Shut-Down-Your-Computer-With-A-Cell-Phone/step3/Create-the-shutdownbat-file/