User Guide

Working in the command-line mode
66
Copyright © Acronis, Inc., 20002010
Deletes a partition.
/partition:[partition number]
Supported options:
Specifies the partition will be deleted. The list of available partitions is provided
by
/list command Partition numbers are specified as <disk number>-
<partition number>, e.g.:
/partition: 1-1,1-2,3-1.
/resize_partition
Resizes the existing partition.
/partition:[partition number]
Options
Specifies the partition number.
/size:[partition size in sectors]
Sets the new partition size (in sectors).
/list
Lists the available partitions on the hard disks.
6.2 diskdirectorcmd.exe usage examples
1. Create a partition
diskdirectorcmd /create_partition /start:12000
/size:20000 /harddisk:1 [/filesystem:fat16 /label:new]
[/type:logical
This will create a logical FAT16-formatted partition labeled NEW on the first hard
drive. This partition will be took 20 000 physical sectors starting with sector
number 12000.
2. Delete a partition
diskdirectorcmd /delete_partition /partition:1-4
This will delete a fourth-partition from the first hard drive.