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-08-13 12:13
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » How to format the C drive under DOS? View 8,082 Replies 47
Floor 16 Posted 2004-01-21 00:00 ·  中国 湖北 荆门 电信
初级用户
Credits 128
Posts 5
Joined 2004-01-21 00:00
22-year member
UID 15901
Gender Male
Status Offline
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?
Floor 17 Posted 2004-01-21 00:00 ·  中国 湖北 武汉 联通
银牌会员
★★★
Credits 1,681
Posts 512
Joined 2003-08-02 00:00
23-year member
UID 7953
Gender Male
Status Offline
to lonelystar:

Under Windows, you can't format drive C, but drive D can be formatted. It can be used to harm people, which is also why you shouldn't execute programs casually
Somehow somewhere I've got to choose.
No matter if it is win or lose.
Floor 18 Posted 2004-01-21 00:00 ·  中国 广东 惠州 电信
初级用户
Credits 133
Posts 7
Joined 2004-01-21 00:00
22-year member
UID 15902
Gender Male
Status Offline
It turns out that formatting is also so complicated.
Floor 19 Posted 2004-01-21 00:00 ·  中国 广东 惠州 电信
初级用户
Credits 133
Posts 7
Joined 2004-01-21 00:00
22-year member
UID 15902
Gender Male
Status Offline
It turns out that formatting can also be so complicated.
Floor 20 Posted 2004-01-21 00:00 ·  中国 湖北 武汉 联通
银牌会员
★★★
Credits 1,681
Posts 512
Joined 2003-08-02 00:00
23-year member
UID 7953
Gender Male
Status Offline
Think it's simple, right?

Enter "format c:" and press Enter, then Y and press Enter again to finish
Somehow somewhere I've got to choose.
No matter if it is win or lose.
Floor 21 Posted 2004-01-22 00:00 ·  中国 重庆 綦江区 电信
初级用户
Credits 134
Posts 8
Joined 2004-01-22 00:00
22-year member
UID 15930
Gender Male
Status Offline
Brother, I just know. If you don't have Wim98 on other disks, you'd better put a boot disk (Win98) and format c:
Actually, I'm also very green
Floor 22 Posted 2004-01-24 00:00 ·  中国 湖北 荆门 电信
初级用户
Credits 128
Posts 5
Joined 2004-01-21 00:00
22-year member
UID 15901
Gender Male
Status Offline
Please tell me how to write the batch file for drive D:
Floor 23 Posted 2004-01-24 00:00 ·  中国 重庆 电信
银牌会员
★★★
Credits 2,202
Posts 499
Joined 2003-06-12 00:00
23-year member
UID 4876
Gender Male
Status Offline
一年四季,枫叶红了又红;人生四季,失去的,还能再来吗?—— !
Floor 24 Posted 2004-01-27 00:00 ·  中国 山东 济宁 联通
初级用户
Credits 114
Posts 2
Joined 2004-01-27 00:00
22-year member
UID 16160
Gender Male
Status Offline
/Q: Perform a quick format;
/S: Complete the format and copy the system boot file to the disk.

Note: This command will erase all data on the target disk, so be extremely careful when using it. If you perform a normal format, the data on the disk may still be recoverable, but if "/Q" is added, it will be extremely difficult to recover, almost as hard as reaching the sky.
Floor 25 Posted 2004-01-28 00:00 ·  中国 福建 泉州 晋江市 电信
初级用户
Credits 158
Posts 13
Joined 2004-01-28 00:00
22-year member
UID 16243
Gender Male
Status Offline
Floor 26 Posted 2004-01-29 00:00 ·  中国 广东 清远 电信
初级用户
chxhi
Credits 163
Posts 25
Joined 2004-01-29 00:00
22-year member
UID 16254
Gender Female
Status Offline
I think I will have a lot to learn in the future
Floor 27 Posted 2004-01-29 00:00 ·  中国 浙江 杭州 华数宽带
初级用户
★★
Credits 516
Posts 156
Joined 2003-07-28 00:00
23-year member
UID 7657
Gender Male
Status Offline
很简单format c:/q
Very simple format c:/q
Floor 28 Posted 2004-01-29 00:00 ·  中国 广西 百色 电信
中级用户
★★
股票操盘手
Credits 214
Posts 54
Joined 2004-01-29 00:00
22-year member
UID 16266
Gender Male
Status Offline
The following is a quote from iceboy at 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, 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.
Very detailed!!!
Floor 29 Posted 2004-01-29 00:00 ·  中国 江苏 淮安 洪泽区 电信
初级用户
Credits 159
Posts 12
Joined 2004-01-05 00:00
22-year member
UID 14966
Gender Male
Status Offline
In general, you can type "command" in the Run dialog and press Enter, then type "format c: /s /q" to do it. If it's not the system drive, just use "format x: /q", where X is the drive letter.
Floor 30 Posted 2004-01-29 00:00 ·  中国 安徽 蚌埠 电信
初级用户
Credits 262
Posts 41
Joined 2004-01-25 00:00
22-year member
UID 16066
Gender Male
Status Offline
Put the floppy disk or CD into the computer to boot, enter the DOS prompt (A:\>, 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.

My email: weikui1568@163.com
Forum Jump: