O&O DiskImage also has a command line version available. You can use it from the Windows command prompt (cmd). The O&O DiskImage command line makes it possible to manage disks, partitions/volumes, and images by use of commands.
Please start the command prompt (Tools -> Command prompt). The graphical user interface of O&O DiskImage will not be shown during a start from the command line. First, navigate in the command line (cmd) to the installation folder of O&O DiskImage. You will then be able to use the parameters listed in the chart.\
C:\Program Files\OO Software\DiskImage>oodicmdc.exe (/create image /source S: /destination E:\Sample.org)
Please note that when entering the parameter in the command line, no manual line break may be included in the command sequence. Otherwise, the command will not be executed as intended. The line breaks in the examples are caused by the document’s formatting.
Structure of a command
"Command" |Subcommand| "Parameter"
Example: /Help /?
Creating an image of Drive "S".
oodicmdc.exe /create image /source S: /destination E:\Sample.omg
Validating the image "E:Sample.omg".
oodicmdc.exe /validate /source E:Sample.omg
Restoring the image of drive “S“ onto drive "T". All data on drive "T" can be overwritten/deleted.
oodicmdc.exe /restore image /image E:\Sample.omg /source S: /destination T: /OverwriteTargetData
The command line interpreter from O&O DiskImage can process the following commands and parameters:
Values can be additionally defined by the use of " and '.
Example:
/format "O&O DiskImage"
The command line interpreter from O&O DiskImage can process the following commands and parameters:
Command | Explanation |
---|---|
/create image
/destination "Parameter" (optional) /password "Parameter" (force dismount) (optional) /comment "Parameter" (optional) /exclude "Parameter" (optional) /type "Parameter" (optional) /max "Parameter" (optional) /format (optional) /VirtualDiskType (optional) |
Creation of a sector-based image.
Drive letter x: |
/create image increment | Creation of an incremental sector-based image |
/restore image
/source "Parameter" /destination "Parameter" (optional) /DecryptPassword "Parameter" (optional) /FillEmptyBlocksNull (optional) /WriteHarddiskDrive (optional) /CreateVolumeLikeSource (optional) /IgnoreReadErrors (optional) /SetBootPartitionBootable (optional) /ClearTargetDrive (optional) /OverwriteTargetData (optional) /IgnoreDataModification (optional) |
Restoration of a sector-based image
Imaging path/image name |
/convert image
/source "Parameter" /DecryptPassword "Parameter" /destination "Parameter" /destinationPassword "Parameter" /comment "Parameter" (optinal) /max "Parameter" (optinal) /format (optional) /VirtualDiskType (optional) |
Conversion of a sector-based image
Imaging path/image name |
/create backup
/source "Parameter" |
Creation of a file-based image
File name including path and/or wildcards |
/restore backup
/destination "Parameter" /DecryptPassword "Parameter" /IgnoreReadErrors (optional) /OverwriteTargetData (optional) /IgnoreDataModification (optional) |
Restoration of a file-based image
Imaging path/image name |
/validate
/DecryptPassword "Parameter" /AllSplits (optional) |
Validation of a sector-based or file-based image
Imaging path/image name |
/mount image
/image "Parameter" /DecryptPassword "Parameter" /driveletter "Parameter" |
Mounting a sector-based image as a virtual disk
Drive letter x: or DiskNo # |
/unmount image
|
Unmounting a sector-based image
Drive letter x: or DiskNo # |
/duplicate
/dismount (force dismount) (optional) /exclude "Parameter" (optional) /type "Parameter" (optional) /destination "Parameter" /FillEmptyBlocksNull (optional) /WriteHarddiskDrive (optional) /CreateVolumeLikeSource (optional) /IgnoreReadErrors (optional) /SetBootPartitionBootable (optional) /ClearTargetDrive (optional) /OverwriteTargetData (optional) |
Duplicating a drive or a disk
Drive letter x: or DiskNo # |
/add license
/company "Parameter" /serial "Parameter" |
Product registration
Your name |
/stop | End all running actions |
/creating bootable medium
/ADK (optional) /AIK (optional) /installation media (optional) /boot device (optional) /ISO path (optional) |
Creating a bootable medium
Windows® Restoration environment |