How to run batch files from DVD-ROM (DVD+RW) image

exchange keys

Limp Gawd
Joined
Feb 18, 2009
Messages
339
So, I created some batch files that work if the setup.exe files are stored locally on say... "%USERPROFILE%\Desktop". However, I want to place these setup.exe files and batch files on 1 disc and be able to launch them from within a DVD+RW.

Is there a way to do this? I just want to point the batch files to find the setup.exe files from within the DVD+RW and point the programs to %PROGRAMFILES% on the user's Windows XP Prof OS.

Thank you.
 
You will need to call the setup files relatively and the programs absolutely... well relatively absolute.. lol

ie..

./setup.exe
../other files/files/

/%ProgramFiles%/Program/script.cmd
 
Yeah, use relative paths. Dont put a driver letter or leading backslash, and it will be relative to the current working directory.
 
Back
Top