Open Windows Explorer at specific filename

B

bhammer

ACC2003
I'm using Dev Ashish's fHandlFile function to either open a Windows Explorer at a known FolderName, or to launch the app associated with the extension. Now I need to open the folder in a Windows Explorer and then scroll to (highlight) the FileName. How?
Brad
 
B

bhammer

Got it...
The /e switch is for Explorer view. The /select switch highlights the
FileName
Code:
Shell "Explorer.exe /e,/select," & strFolder & strFileName,
vbNormalFocus
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top