Does double-clicking this batch file after creating it with "@FORMAT c: /s /q /autotest >NUL" completely ruin your own system? If that's really the case, can it be used to harm others?
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!
The following is a quote from iceboy at 2004-1-14 21:18:35:Very detailed!!!
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, only clear 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.
, then type (format_c
, where "-" represents the space bar, and then press the Enter key... ... Just select "y"! That's not professional enough, friend upstairs.