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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Win Explorer command line folder AND contents window. /Switches???

Status
Not open for further replies.

cresbydotcom

Technical User
May 22, 2006
234
Hi

I am trying to invoke win explorer from VBA & a shortcut using the command line switch.

I am not at a Win98 machine which used allow me to see this. And is XP quite as helpful (in this respect - before the blue touch paper smoulders)

Getting a particular folder contents to display is easy enough with the command line

explorer C:\blah\blah\blah

but I prefer the folder and contents window to display and can't find a switch that does this in XP certainly not in VBA.

Any ideas? ( /? does nothing sensible)
 
engages brain

inserts comma and bingo!

explorer /e, C:\blah\blah\bingo



As is often the case - trying to explain the problem changes the way one looks at it and can reveal more of the answer.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top