How does the Run dialog know which application on the system is located?
Run (Run Dialog) dialog is one of the most useful tools in case if users want to open programs on their computer. However, to better understand the operating mechanism of the Run dialog box and how to make the Run dialog box determine which application is located on the system, please refer to the following article of Administration network.
Ask:
As a user also has quite a lot of experience, and also frequently use the Run dialog box. I can understand why the following commands work on the Run dialog, the reason is because these statements are in the built-in PATH environment variable.
- mspaint
- diskmgmt.msc
- explorer
In addition, the above commands also work on CMD.
However, I have a question about why the following commands work on the Run dialog, even though these statements are not in the PATH environment variable that is available, and these commands do not work on CMD. :
- firefox
- winword
- iexplore
So how does the Run dialog know where the files are located?
Reply:
When you execute any command on the Run dialog box, the system will search the App Paths Registry key:
HKEY_CURRENT_USERSOFTWAREMicrosoftWindowsCurrentVersionApp Paths
And:
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionApp Paths
For example:
HKEY_CURRENT_USERSOFTWAREMicrosoftWindowsCurrentVersionApp Pathsfilezilla.exe
By default data value (value data) has the full path to execute. If the path is not found, the Run dialog box will search on each PATH folder. In contrast, the CMD (command prompt) does not search for these Registry keys, but searches for PATH.
Refer to some of the following articles:
- How to completely hide a folder with a single command on Windows
- Speed up Internet connection by using CMD command on WindowsXP / 7/8 / 8.1
- Summary of 20 common Run commands on Windows operating system
Good luck!
You should read it
- 7 ways to open the Run dialog box in Windows
- Dialogs - Alert, Prompt, Confirmation in JavaScript
- How to use the Run command quickly without opening the Run dialog box
- Use the Font format text dialog box in PowerPoint
- Use the Run dialog box to check the computer configuration
- How to turn off the delete confirmation dialog in Outlook
- How to Run a Batch File from the Command Line on Windows
- Fix the Yes button error in UAC disappearing or graying out in Windows 10
- Quickly open the tools in Control Panel with Run
- Customize Vista dialog boxes
- Navigate directly from table to table in Word 2013
- How to enable / disable the delete delete confirmation dialog box
Maybe you are interested
How to Hide App Icons in Mac Dock Even When Running on
How to run iOS emulator on PC quickly and simply
This hidden score shows how well a computer runs Windows
What is the speed of the plane on the runway?
Samsung will support 7 years of free software upgrades for AI TVs running the Tizen operating system
AMD Ryzen 9000 CPU runs on Linux for higher performance than Windows 11