रन संवाद कैसे पता चलता है कि एप्लिकेशन कहां हैं?

विषयसूची:

रन संवाद कैसे पता चलता है कि एप्लिकेशन कहां हैं?
रन संवाद कैसे पता चलता है कि एप्लिकेशन कहां हैं?

वीडियो: रन संवाद कैसे पता चलता है कि एप्लिकेशन कहां हैं?

वीडियो: रन संवाद कैसे पता चलता है कि एप्लिकेशन कहां हैं?
वीडियो: Day Trading Volume Profile Settings for TradingView (Futures, Forex, Crypto) - YouTube 2024, अप्रैल
Anonim
रन संवाद आपके कंप्यूटर पर प्रोग्राम खोलने के लिए एक आसान और बहुत उपयोगी तरीका के रूप में कार्य कर सकता है, लेकिन यह कैसे पता चलता है कि ये एप्लिकेशन आपके सिस्टम पर कहां स्थित हैं? आज के सुपर यूज़र क्यू एंड ए पोस्ट में एक जिज्ञासु पाठक के सवाल का जवाब है।
रन संवाद आपके कंप्यूटर पर प्रोग्राम खोलने के लिए एक आसान और बहुत उपयोगी तरीका के रूप में कार्य कर सकता है, लेकिन यह कैसे पता चलता है कि ये एप्लिकेशन आपके सिस्टम पर कहां स्थित हैं? आज के सुपर यूज़र क्यू एंड ए पोस्ट में एक जिज्ञासु पाठक के सवाल का जवाब है।

आज का प्रश्न और उत्तर सत्र हमारे पास सुपरयूसर की सौजन्य है - स्टैक एक्सचेंज का एक उपविभाग, क्यू एंड ए वेब साइट्स का एक समुदाय संचालित समूह।

प्रश्न

सुपर यूज़र रीडर mt025 जानना चाहता है कि रन डायलॉग जानता है कि एप्लिकेशन कहां हैं जो विंडोज़ सिस्टम में नहीं हैं पथ:

As a power user, I frequently use the Run Dialog. I can understand why the following commands work, as they are in the PATH environment variable.

  • mspaint
  • diskmgmt.msc
  • explorer

These commands also work in CMD.

The commands below work in the Run Dialog, but they are not in the PATH environment variable, and they do not work in CMD.

  • firefox
  • winword
  • iexplore

How does Run know where these files are?

उत्तर

SuperUser योगदानकर्ता w32sh का उत्तर हमारे लिए है:

When you execute a command from the Run Dialog, the system looks at the App Paths registry keys here:

HKEY_CURRENT_USERSOFTWAREMicrosoftWindowsCurrentVersionApp Paths

and

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionApp Paths

Example

HKEY_CURRENT_USERSOFTWAREMicrosoftWindowsCurrentVersionApp Pathsfilezilla.exe

(Default) value data has the full path to the executable. If it is not found, it looks at each folder included in the PATH, whereas CMD (the Command Prompt) does not reference these registry keys, it only searches the PATH.

स्पष्टीकरण में जोड़ने के लिए कुछ है? टिप्पणियों में विचार व्यक्त करो। अन्य तकनीक-समझदार स्टैक एक्सचेंज उपयोगकर्ताओं से अधिक उत्तरों पढ़ना चाहते हैं? यहां पूर्ण चर्चा धागा देखें।

सिफारिश की: