DAEMON Tools HOME
DAEMON Tools FORUM

Command line parameters

Before using any command line parameters please ensure that you have sufficient command line experience and you know exactly what you are doing.

In DOS, OS/2, and Microsoft Windows, a batch file is a text file containing a series of commands intended to be executed by the command interpreter. Similar to job control language and other systems on mainframe and minicomputer systems, batch files were added to ease the work required for certain regular tasks by allowing the user to set up a batch script to automate many commands. When a batch file is run, the shell program (usually COMMAND.COM or cmd.exe) reads the file and executes its commands, normally line-by-line. Batch files are useful for running a sequence of executables automatically and are often used to automate repetitive or tedious processes.

DOS batch files have the filename extension .bat.

You can use following commands and parameters to operate DAEMON Tools Lite from command line (console) or to create a batch file.

The general format of commands:

DTLite.exe -[Command [options]]

The contents of the square brackets is an optional part of the command, you may use it but don't have to. The square brackets are not a part of the command. Multiple parameters are separated by commas, hyphen is used before some options.

Commands

-mount: mounts the selected image file to the virtual drive.

Syntax: -mount type, letter, opt, path, where

  • type is "dt" or "scsi". VHD, VMDK, TrueCrypt and ZIP files are mounted to HDD virtual device by default, so you don't need to use this parameter for the abovementioned range of file types.
  • letter is a device letter which will be assigned to the created virtual drive. If this parameter is not used, then the first available letter will be used.
  • opt is an optional parameter for VHD and TrueCrypt files only. Use "ro" if an image you want to mount should be mounted as read-only.
  • path is a path to the needed image.

Example: DTLite.exe -mount, dt, F, "D:\Images\SomeImage.iso"

-unmount: unmounts the selected virtual drive.

Syntax: -unmount letter , where

  • letter is a letter of the virtual device you want to eject.

Example: DTLite.exe -unmount F

-unmount_all: unmounts all emulated virtual devices.

Syntax: -unmount_all

Example: DTLite.exe -unmount_all

-get_count: gets a number of created virtual devices.

Syntax: -get_count

Example: DTLite.exe -get_count

-help: shows the short guide about all available commands.

Syntax: -help

Example: DTLite.exe -help