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

Open file "Urgent" 1

Status
Not open for further replies.

Baixinha

Programmer
Dec 27, 2000
122
BR
I have a problem to open a external file:

In my CD I have the follow estructure:

Interface
Setup

My director files are into the Interface folder and I wanna open a file Setup.exe into the folder setup, but it isn't work. I'm using the command

open "\setup\setup.exe"

What is wrong?
 
try open "..\setup\setup.exe"

The ".." will take you back a path
hence if you are in f:\interface this will run setup.exe in f:\setup.

hope this helps

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top