cmdl.htm

Top  Previous  Next

logo120

Alcohol 120% / 52% Manual

Alcohol Command Launcher

logo52

Alcohol Command Launcher (AxCmd.exe) allows you to mount and unmount image files on Alcohol virtual drives through command line parameters.

Syntax:

AxCmd.exe [drive:] [/M:path] [/U] [/L] [/?] [@cmd]

drive:

Specifies virtual drive letter or number.

Possible values are A to Z or 0 to 30.

/M:path

Mount an image file on a virtual drive.

Example: AxCmd.exe V: /M:c:\images\cd1.mds

This example will mount image file cd1.mds (located in images folder on drive C:) in Alcohol virtual drive that is using V: drive letter.

Note that if the full file/path name contains space character, then the file/path name need to be quoted for example: AxCmd.exe 0: /M:"C:\Documents and Settings\someone\My Documents\Alcohol 120\test 101.iso"

Returns drive letter when success or 1 when failure occurs.

/U

Umount an image from a virtual drive.

Example: AxCmd.exe V: /U

Returns drive letter when success or 1 when failure occurs.

/L

Get the number of active Alcohol virtual drives.

Example: AxCmd.exe /L

Returns 0 if there are no active virtual drives.

/?

Display help.

@cmd

This parameter should be used together with /M parameter to execute a specified command after mounting an image file on a virtual drive.

Example: AxCmd.exe 0: /M:c:\images\cd1.mds @0:play.exe

This example will mount image file cd1.mds (located in images folder on drive C:) in first Alcohol virtual drive and then automatically run play.exe from this virtual drive.