PDA

View Full Version : mount CD images



mgarrett
11-05-2003, 01:12 PM
I burn dvds that contain many cd images in different image formats. To run a cd, I mount the image with Alcohol 120%. Is there a way I can have AMS do this automatically?

Thanks

Lorne
11-06-2003, 12:25 AM
I've never tried it, but if you enable the shell extensions option in Alcohol 120% (so that you can mount images by right-clicking on them in Windows) you should be able to use Shell.Execute() to perform a custom verb on them.

I'm not sure what the verb would be...possibly AlcoholShellEx?

Failing the custom verb method, you might also be able to go through Alcohol's AXShlEx.dll to call the AlcoholShellEx function. Not sure what the parameters would be, however.

mgarrett
11-06-2003, 04:29 PM
Thanks, after some research I found the alcohol command syntax.

Bruce
11-06-2003, 05:16 PM
What was it????????????

mgarrett
11-06-2003, 05:36 PM
if you type axCmd /? you will get the full syntax, but here is the basic.

yourpath\AxCmd 1: /M:C:\mydir\myimage.mds @1:autorun.exe

1: means to mount in the first virtual drive
/M: followed by full path & image file name
@1: followed by filename to execute (optional)

AxCmd /L is supposed to return the number of virtual drives.

AxCmd 1: /U is supposed to unmount the image on the first virtual drive.

Lorne
11-06-2003, 09:07 PM
Ah, command line options...even better!

Thanks for sharing that, mgarrett. :)

Bruce
11-06-2003, 09:30 PM
Thanks mgarrett!

Corey
11-06-2003, 10:20 PM
Cool tip!

Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)

Lavrendi
11-06-2003, 10:46 PM
For a totally free solution, use Daemon-Tools and DaemonUI.

DeamonUI can create scripts that not only mount/unmount CD images, but can also change screen resolution, change working directory, call programs, change/get regkey, etc. This is very practical to change screen resolution, launch a series of programs, mount CD in one single click that even a children can learn. DeamonUI scripts can be double-clicked like any icons.