Jump to content

Daemon Tools... Help!


erik7426
 Share

Recommended Posts

Does anyone have any experience scripting DTProAgent command line?

The blurb on their website gives this as "help"

-mount

allows mounting images from command line (or shortcut).

Syntax is: DTProAgent.exe -mount [scsi | ide], <n>, <path>

where 'scsi' or 'ide' means the drive type ('scsi' is the value by default), 'n' means DVD-ROM device number and 'path' is the full path to the image file.

Example: DTProAgent.exe -mount scsi, 0,"c:\My Images\nameofimage.cue".

Do not forget to set the path in quotes if it contains spaces!

-unmount

allows unmounting images from command line.

Syntax is: DTProAgent.exe -unmount [scsi | ide], <n>where 'n' means DVD-ROM device number and 'scsi' or 'ide' means the drive type ('scsi' is the default value) .

Example: DTProAgent.exe -unmount scsi, 0

I have tried everything I can think of to get this to work. Anyone have any ideas?

$q = Chr(34)
$Agent = @ProgramFilesDir & "\DAEMON Tools Pro\DTProAgent.exe"
$Filter = "Supported Image Types (*.b5t;*.b6t;*.bwt;*.ccd;*.cdi;*.cue;*.iso;*.mds;*.nrg;*.pdi;*.isz)|All Files (*.*)"
$SelectISO = FileOpenDialog("Select Image File to Mount", @MyDocumentsDir, $Filter, 3)

If $SelectISO <> "" Then
    RunWait($Agent & " -mount scsi, 0," & $q & $SelectISO & $q,@ProgramFilesDir & "\DAEMON Tools Pro")
    $myError = @error
    MsgBox(0,"",$myError)
EndIf
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...