DAEMON Tools HOME
DAEMON Tools FORUM

Command Line Parameters

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

Commands

  • -mount
    Mount a virtual drive with an image file:

    Syntax is: -mount <n>,<path>
    
    <n>:    device number('0' - '3' allowed)
    <path>: path to image file
    
    Example: "C:\Program Files\DAEMON Tools Lite\DTLite.exe" -mount 0,"C:\My Images\nameofimage.cue".
    

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

  • -unmount
    Unmount a virtual drive.

    Syntax is: -unmount <n>
    
    <n>:    device number('0' - '3' allowed)
    
    Example: "C:\Program Files\DAEMON Tools Lite\DTLite.exe" -unmount 0
    
  • -show_mdm
    Opens Mount'n'Drive Manager.
  • -add
    Increments number of virtual devices, returns number of virtual devices or -1 if error.
  • Syntax: -add 
    
    Example: "C:\Program Files\DAEMON Tools Lite\DTLite.exe" -add 
    
  • -remove
    Decrements number of devices, returns number of virtual devices or -1 if error.
  • Syntax: -remove <n>
    
    <n>:    device number('0' - '3' allowed)
    
    Example: "C:\Program Files\DAEMON Tools Lite\DTLite.exe" -remove 0
    
  • -unmount_all
    Unmounts all currently mounted images, returns 0 in case operation's result is OK or -1 in case it is FAILED.
  • -get_letter
    Get a letter assigned to a virtual device. Returns a letter number (0-A,1-B,2-C etc.) in case of success or -1 if any error occurred.

    Syntax: -get_letter <n>
    
    <n>:    device number('0' - '3' allowed)
    
    Example:"C:\Program Files\DAEMON Tools Lite\DTLite.exe"  -get_letter 1
    
  • -get_count
    Get number of virtual devices, returns devices quantity or -1 in case of error.
  • -set_count
    Emulate number of virtual devices, returns 0 in case of successful operation result or -1 in case of error.

    Syntax: -set_count <n>
    
    <n>:    device number('0' - '3' allowed)
    
    Example: "C:\Program Files\DAEMON Tools Lite\DTLite.exe" -set_count 1
    

You can use all of these parameters in batch files:

DTLite.exe -get_count
echo %errorlevel%

%errorlevel% — environment variable will contain exit code.