2012年4月22日星期日

Create "shutdown.bat" file

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 0
3. Save the file to your computer. You can put it pretty much anywhere on your computer. I put mine on my C: drive.

What this batch file does is it points to the shutdown function on your computer, generally located at c:\windows\system32\shutdown. You may want to double check this, as some computers may have it listed as c:\winnt\system32\shutdown. If this is the case, then you want to change your batch file accordingly. The -s tells it to shutdown the computer. The -f tells it to force the computer to shutdown so that it doesn't get hung on any open applications. The -t sets the time for it to wait before it actually shuts down. You can set it to whatever you want, but I put in 0 to set it to zero.

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

2012年4月19日星期四

Windows 7 – Enable Telnet

  • Start
  • Control Panel
  • Programs And Features
  • Turn Windows features on or off
  • Check Telnet Client
  • Hit OK
Ref: http://www.fettesps.com/windows-7-enable-telnet/