Command line

Windows CMD is a special environment with which our product can work in command line (perform task by inputting commands) instead of graphic interface. With this feature, you can manage your hard disk without launching our product or add specific partition/disk operations when creating a batch file, to simplify repetitive operations.

How to start

To use our product in command line, you need to run Windows CMD using the Administrator account at first which can be invoked by inputting CMD in Windows Run dialog (press "Win" + "R" at same time to call Run dialog box). And then you can directly drag the icon of "epmConsole.exe" into CMD window or login the installation path of our product "cd ...\bin" (... means the installation path of our product), and then run "epmConsole.exe –command -parameter" to start using our product in command line.
Method 1:

Command line method 1

Method 2:

Command line method 2

How to use

When successfully starting our product in CMD, all the available command and parameters for each command will be listed automatically (or you can input -h to get this guide information at any time). The commands can be written in full mode or abbreviation mode, for example.
In abbreviation mode, the command can be:

Full mode

Input "epmconsole.exe list -d1" to list the information of Disk 1. And the following command is to create a new logical partition. You need to input "epmconsole.exe" at the front every time when you want to do any operation using the command line. "-d1"=select Disk 1, "-s4008"=create a partition from 4008MB space of the hard disk (you can also omit this arguments, and it will create a partition from the first unallocated space acquiescently), "-z100"=partition size is 100MB, "-fntfs"=file system is NTFS, "-t=logical"=create a logical partition.

In full mode, the command also can be:

Full mode

The difference between the full mode and abbreviation mode is that you need to input the full name of each command. And also the "-" should be "--" instead. Besides, there need to be "=" between command and arguments, such as "-d1" should be "--disk=1".

What's more, here is a command to resize partition: "epmconsole.exe resize --disk=0 --volume=0 --start=0 --size=200". It means that our program will resize the first partition on Disk 0 to 200MB. "--start=0" means our program will not resize the partition from its left. If you set it as "--start=100", our program will shrink the selected partition 100MB from its left. And "--size=200" means the total partition size of the target partition after resizing.