Re: How to get the path from Windows Explorer?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



ShellWindows is from the Shell Object, in
shdoc401.dll on Win9x (and 2000?) and in
shell32.dll in WinXP. It was originally the
Active Desktop package and includes all of
the "web view" functionality.

"Microsoft Shell Control and Automation"
Server: Shell32
Scripting object: Shell.Application
ShellWindows is the collection of folder and IE instances
returned by Shell.Windows

I would think the OP could also use GetWindowText,
possibly with GetActiveWindow, since the title of an
Explorer window *is* the path.




.