Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Windows Explorer path

Status
Not open for further replies.

DoctorC

Programmer
Jun 29, 2000
34
0
0
US
I posted this question late Friday, but I'm afraid it may have been overlooked, and is now buried pages deep. Does anyone know how to dynamically find the app path for Windows Explorer? With most apps you can look in the Registry under
"HKLM\Software\Microsoft\Windows\CurrentVersion\App Paths", but Windows doesn't store it there. Might it be an SH function? Thanks
 
you could just hardcode the path in... i think its
C:\windows\explorer.exe

but thats probably not what your looking for.

 
The Windows Explorer should be in the Windows folder. The Windows folder may not be "C:\Windows". You can use the environ funtion to return the windows folder:

MsgBox (Environ("windir"))
 
Thanks for the replies. I have settled on GetSystemWindowsDirecory(LPTSTR, UINT) to find the Winnt folder.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top