Scan drive for errors before formatting.Create a volume label for USB disk drives.
Remove any tracks of malicious software that may have infected it.Erase all data and delete the space on flash drives that cannot be removed in the traditional way.To format your USB, just plug in your USB drive into the system, and then open the tool and browse your USB drive, select the File System format, and click on the Format button to start formatting it. It supports FAT, FAT32, exFAT, or NTFS partition types. USB Disk Storage format tool is a freeware tool to quickly format your USB with any file-system. Where fs=ntfs defines the file system to be created after formatting. Run the following command to format the newly created partition.Run the following command to create a new partition.Run the clean command to delete everything on the selected disk.Where 0 is the number of drive to be formatted.
Check the number assigned to the disk you want to format. List disk command will list all the hard drives connected to the computer.To format a hard drive using command-line, follow the instructions below: