Create a script to shut down Windows 10

You can end them more easily 10; Από τα Windows Vista και μετά, η Microsoft άλλαξε τον τρόπο με τον οποίο τερματίζουν τα Windows. Έκαναν τη κλασική Shutting down Windows less obvious by implementing a drop-down menu with the shutdown button in the Start menu.gear tools Windows 10

Although Windows 10 comes in many ways to shut down your computer, the classic termination dialog is accessible only with the help of a hotkey.

Today, we will share with us how to create a shortcut to shutdown Windows 10.

All you need is Notepad or Notepad. Open the app, copy and paste the following text:

 dim objShell set objShell = CreateObject("shell.") objshell.ShutdownWindows set objShell = nothing

Now select from Notepad menu File - Save as and type the name of the file. The important thing is to add the extension ".vbs" to the end instead of the regular .txt.

Advice: You can add the file name and extension inside the quotation marks so that the Notebook does not automatically add the ".txt" extension.

Adding the name you want in quotes will save it as .vbs and not as .vbs.txt. For example "iguru.vbs" and not "iguru.vbs.txt".
Now double-click on the file you saved and you will see the old good windows shutdown window.

How does it work:

It's nothing special. Windows provides the access to a broad list of objects required to run applications and manage the operating system.
One of these commands is the above. A Shell COM object that allows you to create the script.

If all of the above are Chinese, you can download the script from the link below.

iGuRu.gr_Script.zip

iGuRu.gr The Best Technology Site in Greecefgns

every publication, directly to your inbox

Join the 2.087 registrants.

Written by giorgos

George still wonders what he's doing here ...

Leave a reply

Your email address is not published. Required fields are mentioned with *

Your message will not be published if:
1. Contains insulting, defamatory, racist, offensive or inappropriate comments.
2. Causes harm to minors.
3. It interferes with the privacy and individual and social rights of other users.
4. Advertises products or services or websites.
5. Contains personal information (address, phone, etc.).