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

Open Map

Status
Not open for further replies.

patweb

Programmer
Apr 17, 2003
174
BE
I know how to rename, select files from a certain directory.
But how to ... Push a button - open the fixed directory with Explorer to see the content of this map.

Push button -> Open Explorer -> Goto fixed directory C:\map

Kind Regards,
Pat.
 
Shell "explorer /e,/root, c:\map"

I think that's what you're looking for. I think the switches determine if a treeview is shown or not and something else.. I can't remember, but I pulled this from an app. I once wrote. Should give you a place to start from.
 
Succesful tip, I added vbMaximized to open the window.

Shell "explorer /e,/root, C:\MAP", vbMaximizedFocus

pat.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top