- To format a disk drive
Output may defer according to your system so, write the code and execute/run your batch file
After writing the code, Double-click your batch file, It will format the specified drive
:: cmd to format drive
Format [DRIVE_NAME]
Concept