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.
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!
- How to use the Run command quickly without opening the Run dialog box
- Windows 11 is about to upgrade the Run dialog box after more than 20 years, what's special?
- Windows 11 adds dark mode to the Run dialog box along with a series of small improvements
- Use the Font format text dialog box in PowerPoint
- Instructions for quickly opening Windows applications using the Run command
- How to turn off the delete confirmation dialog in Outlook
- How to Fix 'Explorer.Exe' Error During Shutdown on Windows 8
- Use the Run dialog box to check the computer configuration
- 5 ways to quickly open System windows in Windows 10
- Instructions on how to turn UAC on and off on Windows 10
- Customize Vista dialog boxes
- Fix the Yes button error in UAC disappearing or graying out in Windows 10
- Remove unnecessary System Preferences icons in Mac
- Paint on Windows 11 has new improvements, starting to roll out to the Dev channel