mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-23 21:35:27 +02:00
diskpart: add page (#7091)
This commit is contained in:
parent
2ffb803871
commit
f4c9616601
1 changed files with 32 additions and 0 deletions
32
pages/windows/diskpart.md
Normal file
32
pages/windows/diskpart.md
Normal file
|
@ -0,0 +1,32 @@
|
|||
# diskpart
|
||||
|
||||
> Disk, volume and partition manager.
|
||||
> More information: <https://docs.microsoft.com/windows-server/administration/windows-commands/diskpart>.
|
||||
|
||||
- Run diskpart by itself in an administrative command prompt to enter its command line:
|
||||
|
||||
`diskpart`
|
||||
|
||||
- List all disks:
|
||||
|
||||
`list disk`
|
||||
|
||||
- Select a volume:
|
||||
|
||||
`select volume {{volume}}`
|
||||
|
||||
- Assign a drive letter to the selected volume:
|
||||
|
||||
`assign letter {{letter}}`
|
||||
|
||||
- Create a new partition:
|
||||
|
||||
`create partition primary`
|
||||
|
||||
- Activate the selected volume:
|
||||
|
||||
`active`
|
||||
|
||||
- Exit diskpart:
|
||||
|
||||
`exit`
|
Loading…
Add table
Reference in a new issue