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

Open folder with vb

Status
Not open for further replies.

d1novak

Instructor
Jul 21, 2003
27
US
I have a script that is attached to an access button that backs up the database to c:\database backup.

on the tail of the script I would like windows to open that folder for the user to view all the files.

Is this possible? or is browseforfolder all there is?

Thanks
 
You may try something like this:
Set Sh = CreateObject("WSCript.Shell")
Sh.Run "\Path\to\folder"
Set Sh = Nothing

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top