If the batch file is on the same drive (CD) then use relative paths.
Example :
If the batch file is "Cd:\XXX\batch.bat" then use :
xxx.exe >to launch CD:\XXX\xxx.exe
...\xx.exe >to launch CD:\xx.exe
--
Ayush [ Be ''?'' Happy ]
Search -
www.Google.com | Wikipedia -
http://en.wikipedia.org
Snip your long urls -
http://snipurl.com/
Replied to [jdm]'s message :
-----------------------------------------------------------
> It shouldn't matter if they have more than 1 CD-ROM drive, because
> it
> will all run from 1 drive. I already have the autorun set up to
> launch the first batch file. But that batch file will need to call
> (if the drive letter is D) D:\folder1\app1.exe.
>
> Obviously, I can't put D: in there, as someone else's drive letter
> may be different. I know it can be done, as I've done it a long
> time
> ago. It's something like
> "%root%\folder1\app1.exe" but I just remember it...
>
>
> "Claymore" wrote:
>
>>
>> Hi,
>>
>> Don't know a variable for a CD-ROM drive, and what if the user has
>> multiple CD-ROM drives?
>>
>> Would it work to put an autorun file on the CD and point it to the
>> file you want to start, or put your batch file on the CD and point
>> the autorun file to the batch file?