



Some commands automatically change the focus. For example, if the focus is set on disk 0 and you select volume 8 on disk 2, the focus shifts from disk 0 to disk 2, volume 8. When you select an object, the focus remains on that object until you select a different object. After an object has focus, any diskpart commands that you type will act on that object. The diskpart command interpreter helps you manage your computer's drives (disks, partitions, volumes, or virtual hard disks).īefore you can use diskpart commands, you must first list, and then select an object to give it focus. Applies to: Windows Server 2022, Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, and Windows Server 2008 R2, Windows Server 2008
