User Guide

Working in the command-line mode
Copyright © Acronis, Inc., 20002010
65
Chapter 6. Working in the command-line
mode
Acronis Disk Director Server supports the command-line mode for most important
partition operations with diskdirectorcmd.exe utility. Using command-line
mode you can:
Create partition
Delete partition
Resize partition.
Also you can get information on hard disk partition structure using the command
/list.
6.1 Supported commands
diskdirectorcmd.exe has the following format:
diskdirectorcmd /[command] /[option
1
] [option
2
]…
The following commands are supported (each command may be accompanied by
additional options):
/create_partition
Creates new partition using unallocated space on the hard disk.
/start:[start sector]
Supported options:
Sets the start sector for creating a partition on the hard disk unallocated space.
/harddisk:X
Specifies the hard disk number where new partition will be created.
/size:[partition size in sectors]
Sets the new partition size (in sectors).
/filesystem:[FAT16|FAT32|NTFS|EXT2FS|EXT3FS|REISERFS]
Sets the file system for the new partition. The default value is NONE.
/type:[active | primary | logical]
Sets the new partition type. By default (if this option is not defined) an active
partition is created on the first hard disk and logic partitions on other disks.
/label:[partition label]
Sets the new partition label.
/delete_partition