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
- 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
May be interested
- Customize Vista dialog boxesin this article, i will show you how to customize these dialog boxes in vista.
- Fix the Yes button error in UAC disappearing or graying out in Windows 10when you try to open a program with admin rights, the user account control (uac) dialog box appears. but sometimes the yes button in this dialog box may be missing or gray.
- Remove unnecessary System Preferences icons in Macsystem preferences is an integrated application in the mac os, where all the system options are gathered - so the application is a bit messy and needs to be cleaned up.
- Paint on Windows 11 has new improvements, starting to roll out to the Dev channelmicrosoft has just announced that they have launched a new paint application for users who are participating in the windows 11 beta test in the dev channel. about the new feature in the update, the new paint has a windows 11-style design theme for the 'edit colors' and 'resize and skew' dialog boxes.
- Online security: 80 steps of defense for NET users - Part Iwhether your computer is 3 years old or only 3 days old, they all face similar security problems. viruses and worms computers always stalk attack your system every time you
- How to Run a Batch File from the Command Line on Windowsthis wikihow teaches you how to run a batch file (.bat) from the windows command line. you can run the program from the 'run' dialog or by typing commands into a terminal window. press . this opens the run dialog.
- Admire a rare direct view of an exoplanet very similar to Jupiterexoplanet are planets located outside the solar system.
- Where is the iPhone backup file located on Windows 10?have you ever been curious about how the iphone backup file on windows 10 is located? let's find out where the iphone backup file will be located on windows 10 in the article below!
- How to Decipher the Right Application to View an Unknown File Type on Windows Vistawith so many file extensions out there nowadays, its completely possible, that a few might not have a representable program existent on the 'open with' dialog box. if this is the case, this article will be for you. navigate to the proper...
- Detection of exoplanets with extreme climates and extremely unusual orbitsexoplanet are planets located outside the solar system.