Create custom Run Command for applications In Windows 10/11

Who doesn’t want to ease things up? It could be too much of a job if you have to navigate a lot and double click on a frequently used application’s icon to launch it. Of course, there are a lot of ways through which we can solve this issue. But we do like to do things different, don’t we? How about opening your favourite applications through Run Command with a single step? Sounds cool? Most of the frequently used applications have pre-defined run commands to open them. If you press Windows and R keys together, it will open up the run window. Typing chrome and hitting enter would open up Google Chrome. But if you want to open Sublime Text application this way, it won’t work. Let’s get to the steps to learn how to make this work. Make sure that you have administrator privileges to execute the following steps. Read on, to learn how to hack this simple trick.

Also read: 101 important run commands in windows PC

How to Create custom Run Command for applications

STEP 1 – First of all, let’s make sure that Sublime Text application doesn’t already have a run command created for it. For that, press Windows Key and R Key together to open the Run window. Type in Sublime and hit Enter.

Custom Run Coomannd

 



STEP 2 – You will receive an error message as shown in the screenshot. It means that Sublime doesn’t have a pre-defined run command created to open it. Follow the below steps to create a custom run command for any application, in this case, for Sublime.

Windows Cannot Find

 

STEP 3 – Right click on an empty space anywhere on your system. Now click on New and then on Shortcut.

 

New Shortcut

 

STEP 4 – Execution of the previous step will result in the opening of a new window named Create Shortcut. We have to give the location of the item that we wish to create the shortcut for. For that, click on Browse button.

 

Browse Shortcut

 

STEP 5 – Navigate to the location where your application is installed. In this case, my Sublime is saved in the E drive.

Browse to the location of the exe file.

Note: – If you do not know, the path of exe file, just search that file in windows 10 or Windows 11   search box, right click on the search result, click on open file location. Then right click and choose properties. Note, down the target.

Browse to the location of  the .exe file of the application and click on OK button.

5findExe

 

STEP 6 – Now you can see that the location field of the shortcut is filled up. Click on Next button when you are done.

6locationEntered

 

STEP 7 – In this step, you have to give a name for your shortcut. It will be this name that will be used by the run command to open your application. So do not give a name that’s difficult to type and remember. For example, Sublime is far better that SublimeTextApplicationEasyClick.

 

8nameAndFinish

 

 

STEP 9 – As next, right click on your shortcut and then click on Copy.

10copyShortcut

STEP 10

  • Now you have to open your file explorer and navigate to the following path. You can do that by simply copy pasting the following pathname in the navigation bar of the file explorer.
    C:/Windows
    

11navigate



STEP 11

  • Now, paste the created shortcut here.

12paste

STEP 12

  • Now let’s check whether it worked. Press Windows + R keys together to open the run command window and then type-in Sublime. Hit Enter.

13runCommand

STEP 13

  • There you are! Yes, it works. Now you can open your applications without having to go through the trouble of a lot of navigations.

14opened

Opening applications on Windows is as simple as that. You can create run commands for any number of applications as per your choice. Try out this hack today itself. Hope you had fun reading the article.