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

Button to open a folder on my computer

Status
Not open for further replies.

LeanneGodney

Technical User
Mar 7, 2002
175
GB
HI there,

I need to have a button that when clicked it simply opens up a folder so the user can see the contents of the folder... how do I do that?

Thanks,
Leanne
 
If you do:
Code:
Shell "C:\WINNT\Explorer.exe C:\Temp"

where
Code:
C:\WINNT\Explorer.exe
is the location of windows explorer (try doing find file for Explorer.exe), and
Code:
C:\Temp
is where the folder is opening.

Put this all under the OnClick Event for a button, and bobs your uncle.

HTH
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top