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

Relative Path

Status
Not open for further replies.

MilinPCH

Technical User
Jul 27, 2000
37
0
0
US
Probably a simple question - but I am new at this...
I have a small "cover program" that when a button is clicked on it, will launch a movie. both the program and movie are burned onto a cd. Since someone's cd drive could be any letter, how do I code it so it looks for the movie "on itself?"

thanks much
 
Look at the app object. App.path contains, the app path. You do need to be careful with trailing slashes though. If the path is the root of a drive, like a cd, I think you need to add a slash. Peter Meachem
peter@accuflight.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top