![]() You can direct these commands to any disk, partition, or volume. ![]() ![]() Instead, after you start the utility, the commands are read from standard input/output (I/O). Diskpart differs from many command-line utilities because it does not operate in a single-line mode. When an object has focus, any DiskPart.exe commands that you type act on that object. Before you can use DiskPart.exe commands on a disk, partition, or volume, you must first list and then select the object to give it focus. ![]() DiskPartÄiskPart.exe is a text-mode command interpreter that enables you to manage objects (disks, partitions, or volumes) using scripts or direct input from a command prompt. I will just describe some basics of Diskpart and provide a simple example. In this session I am assuming the reader has a basic understanding of C# and how to create a console application in C#. After some search and some basic changes I created a very simple utility that will create a partition. In one project I got the requirement from the client to create another partition when we install our software. ![]() We will use Diskpart.exe that is the default provided by Windows. In this article we will create another partition in a hard disk using C#. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |