Daemon Tools

Small Update (DAEMON Tools 5.0.0316 at the time of writing)

To Mount a drive image

<?xml version="1.0"?> <button display="both" label_pos="right"> <label>Mount</label> <tip>Mount a cd image using Daemon Tools.</tip> <icon1>%PROGRAMFILES(X86)%\DAEMON Tools Pro\DTAgent.exe,0</icon1> <function type="normal"> <instruction>"%PROGRAMFILES(X86)%\DAEMON Tools Pro\DTAgent.exe" -mount scsi, 0, "{filepath$}"</instruction> </function> </button>
To Unmount a drive image

<?xml version="1.0"?> <button display="both" label_pos="right"> <label>Unmount</label> <tip>Unmount a cd image using Daemon Tools.</tip> <icon1>%PROGRAMFILES(X86)%\DAEMON Tools Pro\DTAgent.exe,0</icon1> <function type="normal"> <instruction>"%PROGRAMFILES(X86)%\DAEMON Tools Pro\DTAgent.exe" -unmount scsi, 0</instruction> </function> </button>
To Unmount ALL drive image

<?xml version="1.0"?> <button display="both" label_pos="right"> <label>Unmount All</label> <tip>Unmount all cd image using Daemon Tools.</tip> <icon1>%PROGRAMFILES(X86)%\DAEMON Tools Pro\DTAgent.exe,0</icon1> <function type="normal"> <instruction>"%PROGRAMFILES(X86)%\DAEMON Tools Pro\DTAgent.exe" -unmount_all</instruction> </function> </button>

================================================================================================

Command line integration

Usage: DTAgent.exe -[Command [options]]

-mount
Mounts a virtual drive with an image file:

[code]Syntax: -mount ,,

: "dt", "scsi" or "ide"
: device number
: path to file

Example: DTAgent.exe -mount ide, 0, "f:\test.iso"[/code]
Note 1: If is not specified type will be automatically set to "dt". IDE adapter type is allowed only in Pro Advanced edition.
Note 2: Maximum device number of allowed devices depends on license type. For example maximum number of IDE devices is 4 (DAEMON Tools Pro Advanced Edition).

-unmount
Unmounts a virtual drive.

[code]Syntax: -unmount ,

: "dt", "scsi" or "ide"
: device number

Example: DTAgent.exe -unmount ide, 0[/code]
-unmount_all
Unmounts all currently mounted virtual drives, returns 0 in case of successful operation result or -1 in case of error.

[code]Syntax: -unmount_all

Example: DTAgent.exe -unmount_all[/code]