Cortana may not be as popular as Microsoft expected, but there’s no denying that the virtual assistant is quite helpful. The following article will guide you how to run any Command Prompt (CMD) using Cortana.
On the Windows 10 Fall Creators Update, users can use Cortana To turn off, restart, lock or log off the computer, just say “Hey Cortana, turn off my computer”.
In addition, users can use Cortana to open any program that the virtual assistant found on the Start Menu with simple voice commands. If you want to run any Command Prompt command using Cortana, refer to the following article of Taimienphi.vn.
To run any Command Prompt with Cortana, first open File Explorer and paste the following link in the address bar:
% APPDATA% Microsoft Windows Start Menu Programs
This will open the Start Menu’s list of programs (where Cortana looks for keyboard shortcuts when you speak commands). Right-click on any empty space in the folder Programs, choose new =>Shortcut.
On the window that appears on the screen, type the Command Prompt that you want to call by voice into the box Type the location of the item. In this example, use the command:
rundll32.exe powrprof.dll, SetSuspendState 0.1,0
Replace the above command with whatever you want to use and then click next.
On the next window, name any shortcut you want. In this example, the shortcut name is Sleep Computer.
Click here finish after completion. You should now see the new shortcut in the Programs folder.
Above is all you need to do to run any Command Prompt command using Cortana. From now on to call the shortcut, just say “Hey Cortana, open [tên shortcut]”. In this example, “Hey Cortana, open Sleep Computer”.
Because some commands on CMD require users to run CMD with Administrator rights on Win 7, 8, 8.1, 10 to be able to access. You can refer to the article running Cmd with Administrator rights that Taimienphi.vn has shared offline.
Not only can you run any Command Prompt with Cortana, but you can also perform many other tasks, to better understand how to use this virtual assistant, please refer to the full article on how to Using Cortana on Windows 10 Please. Good luck !