How to Open, Add and Create Run Command in Windows 10

In this post, we’ll see:

In this instance, I am using Windows 10. Let us start.

Open Run in Windows 10

You can open Run Command Box in four diverse ways, and they are:

Method #1

Press Windows and R keys together.

Method #2

Open Power user menu (To do that: right-click on the “Start” button or press Windows and X keys at the same time).

Hit “Run,” which you can find between “Search” and “Shut down or sign out.”

Method #3

Open Start menu. Type run and hit Run app in the search results.

Method #4

Open Start menu. Click the “Windows System” folder. Click “Run,” which you can find between “File Explorer” and “Task Manager.”

Add Run to Start Menu, Taskbar or Desktop

To Add Run as Start Menu Tile or Taskbar Shortcut

Hit the Start button. Type run. In the right pane, you can see “Pin to Start” and “Pin to taskbar” options.

Click Pin to Start if you want the Run as Start menu tile. Click Pin to taskbar if you wish to have Run Command as a shortcut in the taskbar.

To Add Run as Desktop or Start Menu Shortcut

For desktop shortcut:

Open Run Box. Type shell:programs and then press the “Enter” key. Go to the “Windows System” folder and then find the Run shortcut. Copy the shortcut. Paste it into the desktop.

Alternate method: if you already have “Run” as a tile in the Start menu, then drag and drop it to the desktop.

For Start menu shortcut: click the “Programs” in the address bar. Paste the shortcut into the “Programs” folder.

Create Run Command in Windows 10

You can create run command for your preferred applications, files, and folders. And here’s how:

Method #1

Create a shortcut for the one you want. Remember that the shortcut’s name is the command, and it shouldn’t contain a space.

Now, copy that shortcut and paste it in the “Windows” folder, which you can find in the “C” drive.

Method #2

Note: This method doesn’t work for folders. But it can work for files and applications.

Copy the path of the file or application’s executable file. Here, I want to create the run command for the PotPlayer. So, I’m copying its executable file’s path.

Now, open Registry Editor. Take a backup of the Registry before proceeding.

Expand Hkey_Local_Machine > Software > Microsoft > Windows > CurrentVersion. Right-click on the “App Paths.” Select New > Key.

Type the key name you prefer without space and then add .exe at the end (Here, I’m providing the name as potplayer.exe). Remember that the entire key name (In our instance: potplayer.exe) is the command. Also, note that key name without .exe (potplayer) is a command too.

In the right pane, you can see the “Default.” Double-click it and then paste the path you’ve copied earlier in the “Value data” field. Hit the Ok button.

That’s it. From now on, whenever you execute the command potplayer (or potplayer.exe) in Run Command Box, it’ll open PotPlayer.