China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

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!

中国DOS联盟论坛
The time now is 2026-09-30 22:52
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » How to format the C drive under DOS? View 8,691 Replies 47
Floor 46 Posted 2004-02-21 00:00 ·  中国 广东 湛江 电信
初级用户
★
Credits 182
Posts 16
Joined 2004-02-16 00:00
22-year member
UID 17594
Gender Male
Status Offline
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大哥
Floor 47 Posted 2004-03-26 00:00 ·  中国 四川 雅安 电信
初级用户
★
Credits 111
Posts 3
Joined 2004-03-26 00:00
22-year member
UID 21197
Gender Male
Status Offline
My C: drive is NTFS, how to format it?
Floor 48 Posted 2004-03-27 00:00 ·  中国 安徽 芜湖 电信
初级用户
★
Credits 105
Posts 1
Joined 2004-03-27 00:00
22-year member
UID 21249
Gender Male
Status Offline
How can one learn DOS well? Please give some advice~~ Is it just about memorizing those commands?
Forum Jump: