Jump to content


Photo

Alcohol Command Line Usage


  • Please log in to reply
No replies to this topic

#1 Alcohol Support

Alcohol Support

    FAQs & Documentation

  • Administration
  • 330 posts

Posted 16 October 2004 - 10:51 AM

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 1 to 31.


/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 1: /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 V: /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 1: /M:c:\images\cd1.mds @1: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.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users