Friday, January 15, 2010

How applications run without using PATH variable

Ever wondered how some applications, for example Winword, Excel, Outlook, start automatically when called from 'Run' window without providing their complete path even though the system PATH variable doesn't have these applications' locations? The answer is in this registry key:
HKLM\Software\Microsoft\Windows\CurrentVersion\App Paths\

So the next time any of the applications do not start without the complete path but you are sure that it exists on the system, check that the registry should have the right information.

Thanks to Mohit Sharma for discovering this info! :)

2 comments:

smplcv said...

Perfect article..loved this blog and have bookmarked!!

DJ CV

Daniel said...

Hey nice blog you have. I found your blog at google and I'am wondering how did you get there ?

plz check out my blog: www.danielarticles.blogspot.com