How to use the JS script in the win7 Ultimate system to shut down

  
                                    

1. First, let's press the win+r shortcut on the keyboard to open the running window of the computer. In the open running window, we enter the notepad and click Enter, so that we can create a new Notepad document. . Of course, you can also return directly to the desktop location of the win7 Ultimate computer, then right click on a blank space and select New - Notepad document.

2. After we double-click to open this Notepad document, and then enter (new ActiveXObject("Shell.Application")).ShutdownWindows(), after completion, let's click on the file - save as, and then Save as a .js file.


3. After that, we can see the desktop, or you have a JS suffix icon in your new location. If you need to shut down, you can double-click this icon. I have done the operation.

Note: For more exciting tutorials, please pay attention to the computer tutorial section, computer office group: 189034526 welcomes you to join

Copyright © Windows knowledge All Rights Reserved