For that, follow the steps in ‘Place a shortcut in Start menu’ tutorial from above to place that file’s shortcut in Start menu. If you wish to run multiple commands, then you must create a batch script file (with. Read more Run a batch scriptĪ batch script is a file with multiple commands that get executed by Windows Command Prompt. Like every other machine, your PC needs cleaning and maintenance. You only need to replace the command in the above example to "C:\Program Files\CCleaner\CCleaner.exe" /AUTO (it works only if CCleaner is installed in that location) and name it “autoclean me”, then just say “ Hey Cortana, open autoclean me” to clean your system using this maintenance tool. Moreover, let’s say you need to clean your computer using CCleaner, then you can use its command-line options to ease the cleaning process. Also, if you name the shortcut as “hibernate me”, then whenever you need to hibernate, you can just speak “ Hey Cortana, open hibernate me” to Cortana. Follow the aforementioned steps under ‘Create a shortcut in Start menu’ and while doing its step #6, enter the full command in the ‘Type the location of the item’ field.įor example, if you need to create a shortcut to hibernate your computer, then you need to give the following command shutdown /h in step #6. If you wish to run a command or a command-line program (say CCleaner) by just speaking to Cortana, then you can use this method. Now cut the shortcut created in step #2 and paste it in this folder.You will see the File Explorer with “Start Menu > Programs” folder.Enter shell:programs in the window and click the OK button.Now press the Win R keys and you will see the Run window.For example, if you name it ‘Secret’, then you must say “ Hey Cortana, open Secret” to run it. This will be the name you will use to tell Cortana to execute it. Type in a purposeful and speakable name for the shortcut.Right-click the shortcut, choose ‘ Rename‘ from the option list.Now you will see a new shortcut along with the program or script.You will see the context menu > choose ‘ Create shortcut‘ option.Right-click any program or script you wish to create shortcut for. Although this method does not work for commands but we can create shortcuts for programs or scripts easy way and then place that shortcut in the Start menu.įollow the below steps to quick-create as well as place a shortcut: We can also place a shortcut in Start menu, if we already have one. How to place custom shortcut in Start menu For example, if I give ‘Sesame’ as the name of my shortcut, then I need to say “ Hey Cortana, open Sesame“. I will suggest to keep it meaningful and speakable because this will be the command you must say to Cortana to run your custom task. Now you need to give a name to your shortcut.When you are done entering the path, just click the Next button.Right-click on an empty area > choose New and select Shortcut.File Explorer will open showing “Start Menu > Programs” folder.Type shell:programs in the window, then click OK.Press Win R keys to open the Run window. How to create custom shortcut in Start menuĪs any shortcut in the Start menu can be executed by Cortana, so here’s how you can create it: That means, such a shortcut can point to any program or script - even custom ones. I figured out it can not just open system tools (like Task Scheduler) or installed programs (like Google Chrome), but can run any shortcut present in the Start menu. I usually say “Hey Cortana, open Chrome” to open Google Chrome, and this is the same command that came to my rescue in this situation. Read Also: 10 Windows 10 Tips to Boost Productivity “Hey Cortana, open…” My goal was to extend the functionality of Cortana and fortunately, it allows to call or run any script or program installed on the computer, so that means I can create a batch or shell script or create my own program to do almost anything. And so, I went on to find a way to do more with Cortana without waiting for Microsoft to add more commands. However, there are certain tasks Cortana cannot do. I enjoy speaking commands to Cortana on my Windows PC.
0 Comments
Leave a Reply. |