Create a custom run command for apps in Windows 10

Who I am
Marie-Ange Demory
@marie-angedemory
SOURCES CONSULTED:

support.microsoft.com

Author and references

Who doesn't want to make things easier? It might be too tiring if you have to browse a lot and double-click on a frequently used application icon to launch it. There are obviously many ways to solve this problem. But we like to do things differently, right? How about opening your favorite apps via Run Command with one step? Sounds good? Frequently used applications have predefined startup commands to open them. If you press Windows and R keys together, the run window will open. Typing chrome and pressing Enter will open Google Chrome. But if you want to open Sublime Text application like this, it won't work. Let's go through the steps to learn how to make it work. Make sure you have administrator privileges to perform the following steps. Read on to learn how to hack this simple trick.



Read also: 101 Important execution commands on a Windows PC

How to create a custom run command for apps in Windows 10

STEP 1 - First of all, let's make sure. Sublime text The application doesn't have a run command created for it yet. For this, press Windows key and R key. together to open the Run window. write Sublime and hit Pay.

STEP 2 - You will get an error message as shown in the screenshot. This means that Sublime does not have a default run command created to open it. Follow the steps below to create a custom run command for any application, in this case for Sublime.

STEP 3 - Right-click on an empty space anywhere on the system. Now click on New and then via Shortcut.



STEP 4 - Performing the previous step will result in opening a new window called Create a shortcut. We need to provide the position of the element for which we want to create the link. For that, click the Surf button.

STEP 5 - Go to the location where your application is installed. In this case, my Sublime is stored in the help file E.

Find the location of the exe file.

Note: - If you don't know the path of the exe file, please search for that file in the Windows 10 search box, right click the search result, click Open file location. Then right click and choose properties. Note, from target.

Locate the location of the application's .exe file and click OK button.

STEP 6 - Now you can see that the link location field is full. Click on Next when done.

STEP 7 - In this step, you need to name the shortcut. This will be the name the run command will use to open the application. So don't give it a name that's hard to spell and remember. For example, Sublime is much better than SublimeTextApplicationEasyClick.

STEP 8 - Does creating a shortcut seem too difficult a task? Well, alternatively you can create a shortcut by right-clicking on an app icon and then clicking Create a shortcut. Give your shortcut a simple name like before.


STEP 9 - Then, right-click the link and then click copy.


PHASE 10


  • Now you need to open your file explorer and go to the next path. You can do this by simply copying and pasting the following path into the File Explorer navigation bar.

    C: / Windows

PHASE 11

  • Performing the previous step will open the Windows Folder file. If you are prompted for administrator permissions, click Continue. Now right click on an empty space and click Paste. If you look for the shortcut to the application, it will be visible in the file windows folder now.

PHASE 12

  • Now let's check if it worked. Press the Windows + R keys together to open the Run Command window and then type Sublime. Paste Pay.

PHASE 13

  • Here it is! It works. Now you can open your applications without having to go through the hassle of a lot of navigating.

Open applications in windows It's that simple. You can create run commands for any number of applications based on your choice. Try this trick today. I hope you enjoyed reading the article.

add a comment of Create a custom run command for apps in Windows 10
Comment sent successfully! We will review it in the next few hours.