Make your life easy!
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.
To use our product in command line, you need to run Windows CMD 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). There are two methods for you to start EaseUS Partition Master in command line.
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.
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.
In abbreviation mode, the command can be:
Input "epmconsole.exe list -d0" to list the information of Disk 0. 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. "-d0"=select Disk 0, "-s20026"=create a partition from 20026MB 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, "-tlogical"=create a logical partition.
In full mode, the command also can be:
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 "-d0" should be "-disk=0".
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.