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 09:08
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » Seeking the powerful functions of the DOS command FORMAT View 1,594 Replies 13
Original Poster Posted 2007-01-13 22:09 ·  中国 广东 东莞 电信
新手上路
Credits 5
Posts 2
Joined 2006-10-18 06:33
19-year member
UID 66255
Gender Male
Status Offline
I've read many tutorials introduced in forums, but I haven't found the powerful functional parameters of FORMAT. I remember that adding parameters after executing FORMAT can realize no confirmation and automatically load the volume label.
Floor 2 Posted 2007-01-14 02:33 ·  中国 江苏 连云港 电信
高级用户
★★★
前进者
Credits 641
Posts 303
Joined 2007-01-10 02:57
19-year member
UID 76009
Gender Male
Status Offline
For example, to format drive A and add a volume label as "love", the command is: format a: /v love. I remember it's like this. I don't know if I said it wrong. If there are any mistakes, I sincerely ask the experts to correct me. Let's make progress together!
Floor 3 Posted 2007-01-14 13:46 ·  中国 福建 泉州 电信
中级用户
★★
Credits 360
Posts 120
Joined 2005-07-14 20:39
21-year member
UID 40722
Status Offline
format c:/q/autotest
Floor 4 Posted 2007-01-15 06:51 ·  中国 四川 成都 联通
铂金会员
★★★★
Credits 7,493
Posts 2,672
Joined 2005-09-02 00:00
20-year member
UID 42173
Gender Male
Status Offline
rd /s /q C: Wow, heh heh heh~~
Floor 5 Posted 2007-01-15 08:00 ·  中国 广东 东莞 电信
新手上路
Credits 5
Posts 2
Joined 2006-10-18 06:33
19-year member
UID 66255
Gender Male
Status Offline
I don't know if there is a parameter "/Y" added.
Floor 6 Posted 2007-01-16 14:47 ·  中国 广东 广州 白云区 电信
中级用户
★★
Credits 251
Posts 108
Joined 2007-01-07 11:33
19-year member
UID 75721
Gender Male
From 湖南==>广州
Status Offline
format has an auto parameter.. I just don't know the specific details... I don't know if the third floor is...
DOS新人.多多指導
Floor 7 Posted 2007-01-18 02:49 ·  中国 福建 泉州 电信
中级用户
★★
Credits 360
Posts 120
Joined 2005-07-14 20:39
21-year member
UID 40722
Status Offline
Originally posted by arku at 2007-1-15 08:00:
Is there any parameter like "/Y"?


楼主, are you not satisfied with my reply? I replied to you but you didn't try it. What I said is to format directly without answering Y. You can try it with your partition if you like. BS you, you ignored my reply after I gave it.
Floor 8 Posted 2007-01-18 05:33 ·  中国 安徽 蚌埠 电信
新手上路
Credits 2
Posts 1
Joined 2007-01-18 04:02
19-year member
UID 76854
Gender Male
Status Offline
Floor 9 Posted 2007-01-18 09:07 ·  中国 山东 济南 电信
社区乞丐
★★
此图片另存后死机
Credits -49
Posts 90
Joined 2006-12-02 13:00
19-year member
UID 72412
Gender Male
Status Offline
If the formatted disk has no volume label:


ECHO Y|FORMAT F: /Q /X


[ Last edited by tghksj on 2007-1-17 at 08:35 PM ]
我的网络笔记本.非联系本人请勿访问!http://w.vicp.net
Floor 10 Posted 2007-02-12 11:18 ·  中国 天津 东丽区 电信
初级用户
Credits 42
Posts 20
Joined 2007-02-02 04:25
19-year member
UID 78384
Gender Male
Status Offline
Floor 11 Posted 2007-04-17 05:01 ·  中国 湖北 黄冈 电信
高级用户
★★★
Credits 894
Posts 411
Joined 2007-02-17 12:15
19-year member
UID 79697
Gender Male
Status Offline
What does the /u do?
@set c= 不知则觉多,知则觉少,越知越多,便觉越来越少. --- 知多少.
@for,/l,%%i,in,(1,1,55)do,@call,set/p=%%c:~%%i,1%%<nul&ping/n 1 127.1>nul


Floor 12 Posted 2007-04-17 09:49 ·  中国 广东 惠州 电信
新手上路
Credits 18
Posts 11
Joined 2006-08-17 22:20
19-year member
UID 60748
Status Offline
format c: /s /q /u /v:label /autotest
Floor 13 Posted 2007-04-18 05:49 ·  中国 安徽 芜湖 电信
高级用户
★★★
Credits 866
Posts 415
Joined 2005-12-04 11:19
20-year member
UID 46459
Status Offline
-----------------------------------------------------------------------------------------

@echo off
for %%i in (d e f g h) do format %%i: /q/y/x/v:我是%%i盘
exit

试一下你就知道了。

[ Last edited by htysm on 2007-4-18 at 05:52 AM ]
Floor 14 Posted 2007-04-18 07:58 ·  中国 福建 福州 连江县 电信
新手上路
Credits 16
Posts 7
Joined 2007-04-18 07:28
19-year member
UID 85597
Gender Male
Status Offline
There are several commands in FORMAT, right? Who can introduce them?
Forum Jump: