formatting your pc windows 10 with cmd one command code example
Example: formatting your pc windows 10 with cmd one command
#open command prompt as administrator
#type "diskpart", to enter disk partitioning
#type "list disk" to list the available disks connected to the pc
#type "select disk 0", which is always the one containig te operating system.
#type "clean" to format the selected memory.
# commands in order:
diskpart
list disk
select disk 0
clean