The following is a quote from iceboy on 2004-1-14 21:18:35:
Hehe~
If it is a batch processing, it should be written like this:
@FORMAT c: /s /q /autotest >NUL
@ means not to display this command. If there is @ECHO OFF at the beginning of the batch file header, it is equivalent to adding an @ to each line of command, so there is no need to write it again. FORMAT is format.com.
c: is the drive letter, the drive to be formatted.
/s makes a system disk, that is, copies DBR, io.sys, msdos.sys, drvspace.bin, command.com.
/q is quick format, which only clears the DIR area and FAT table.
/autotest means that format.com does not prompt you whether to format.
>NUL redirects the output result to the "virtual device" and does not display it on the screen.
Very good introduction, thank you, moderator大哥