- diskpart
-
diskpart
A component of Microsoft WindowsDetails Included with Windows NT Replaces fdisk In computing,
diskpart
is a command-line hard disk partitioning utility included in versions of the Windows NT operating system line from Windows 2000 onwards, replacing fdisk which was used in MS-DOS based operating systems.[1]The
diskpart
command supports the use of scripts to automate its usage. For example, the following text file could be supplied to diskpart to create a new partition:create partition logical size=2048 assign letter=F
This will create a 2 GB logical partition at the beginning of the free space on the disk and assign it the drive letter F:, provided that space requirements are met.[2]
Recovery Console
Main article: Recovery ConsoleOn the Recovery Console, which is included in all Windows 2000, Windows XP and Windows Server 2003, there is a diskpart command which is significantly different from the one included in the actual operating system. It only provides functionality for adding and deleting partitions, but not for setting an active partition.[3] The utility is also provided in the Windows Recovery Environment, the successor of the original Recovery Console.
See also
- Logical Disk Manager
- Disk Utility
- parted, cfdisk
- List of disk partitioning software
- Windows Imaging Format
- DiskPart: vdisk create select attach, install and boot Windows 7 from virtual disk device [4]
- Loop devices
References
- ^ http://support.microsoft.com/kb/325590
- ^ Pawan K. Bhardwaj, Kimon Andreou, Brian Barber, Dave Kleiman, Mahesh Satyanarayana. How to Cheat at Windows System Administration Using Command Line Scripts: Using Command Line Scripts. Syngress, 2006. ISBN 1597491055
- ^ http://support.microsoft.com/kb/314058
- ^ more Diskpart:(vdisk create select attach detach) articles you can find at technet.microsoft.com: [1],[2],[3]
External links
Windows command line programs and built-ins (more) File system
(basic)File system
(advanced)Processes Registry User environment Text processing Shell programming Networking Searching Miscellaneous This computer storage-related software article is a stub. You can help Wikipedia by expanding it.