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!

Copy files from CD

Status
Not open for further replies.

emergencyplan

Technical User
Aug 19, 2003
34
GB
Hello,

I am writing a small program to copy a folder from a cd to the users PC (a small installer package). The user inserts the CD, this autoruns to the program and the user specifies a location and clicks install.

I need to be able to specify the path for the files on the CD, however the Drive letter may be different depending on the user. Based on the idea that the program is running from the CD is there a method to identify this drive letter?

Thanks
 
If the program is running from the CD, look at app.path

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top