Win7 Shutdown Tips via JS Script

  
                

In Win7 system, we know that you can shut down through the shutdown button, power button, etc. in the start menu. Today Xiaobian wants to share with you a special way to shut down, that is, the ability to shut down through JS script.

The specific operation is as follows:

1. Press “Win+R”Open “Run” window, enter the "notepad” command and press Enter to open Notepad.

2. Type the following command (new ActiveXObject("Shell.Application")).ShutdownWindows() in the open Notepad document.

3, click on the & ldquo; File & rdquo; & mdash; & mdash; & ldquo; Save As & rdquo ;, the system defaults to save the file type, file name to JS suffix. For example, shut down .js and save the path to the desktop.

4, on the desktop to see a shutdown icon in the icon with the right mouse button and choose & ldquo; & rdquo ;. Create Shortcut See "Shutdown" on another shortcut on the desktop.

5, on the shortcut icon created by it, right-click on the icon to select "Attributes", then in the pop-up properties window, switch to the shortcut tab, enter at the shortcut key Your shortcut will open the shutdown screen.

After this setting, we have a more way to shut down, but this does not allow Win7 to shut down acceleration, friends can freely study how to accelerate through the registry.

Copyright © Windows knowledge All Rights Reserved