Hello formating from dos is a very delicate command
Make sure to have back up...
Please find below all the command need to format from Dos
Experience at your own Risk :)
you can also create partitions is you want and customize it as you wish
FORMAT drive: [/V[:label]] /Q /F:size | /S /C
FORMAT drive: [/V[:label]] /Q /N:sectors | /S /C
FORMAT drive: [/V[:label]] /Q /1 /4 | /S /C
FORMAT drive: /Q /1 /4 /8 | /S /C
/V[:label] Specifies the volume label.
/Q Performs a quick format.
/F:size Specifies the size of the floppy disk to format (such as 160, 180, 320, 360, 720, 1.2, 1.44, 2.88).
/B Allocates space on the formatted disk for system files.
/S Copies system files to the formatted disk.
/T:tracks Specifies the number of tracks per disk side.
/N:sectors Specifies the number of sectors per track.
/1 Formats a single side of a floppy disk.
/4 Formats a 5.25-inch 360K floppy disk in a high-density drive.
/8 Formats eight sectors per track.
/C Tests clusters that are currently marked "bad."