Hello everybody, first post here.
I would like to distribute a large archive by making an ISO image of it and mounting it with Daemon Tools.
I then write a .bat file to "install" that archive properly.
Here's my question: how can I "call" a file from within that mounted image in batch file?
Let me explain:
I mount the archive from my batch file with
The virtual drive # to which the image is mounted will of course vary for each computer (= first free drive letter)
Say I now want to access a particular file in that image.
How can I "find" that file, eg. how can I specify in my batch file which path I need to use?
Is there a way to save the mount point <virtual drive> as a variable?
I know that I could just add an autorun.inf file to my archive
to launch a file but I only want this file to load at specific times, not each time I mount the archive in the future.
I also tried looking using the registry to extract that value
but couldn't figure it out...
Thanks for any help you can give!
PS: I would like a solution that works with Daemon Tools 3.47 if possible but if need be I will upgrade to the newest version.
I would like to distribute a large archive by making an ISO image of it and mounting it with Daemon Tools.
I then write a .bat file to "install" that archive properly.
Here's my question: how can I "call" a file from within that mounted image in batch file?
Let me explain:
I mount the archive from my batch file with
Code:
daemon.exe -mount, 0 "<path>\image.iso"
Say I now want to access a particular file in that image.
Code:
<virtual drive>:\directory\file.exe
Is there a way to save the mount point <virtual drive> as a variable?
I know that I could just add an autorun.inf file to my archive
to launch a file but I only want this file to load at specific times, not each time I mount the archive in the future.
I also tried looking using the registry to extract that value
but couldn't figure it out...
Thanks for any help you can give!
PS: I would like a solution that works with Daemon Tools 3.47 if possible but if need be I will upgrade to the newest version.
Comment