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-06-30 19:03
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » dos: question about automatic selection View 1,172 Replies 5
Original Poster Posted 2003-02-20 00:00 ·  中国 香港 电讯盈科有限公司
初级用户
Credits 121
Posts 5
Joined 2002-11-10 00:00
23-year member
UID 213
Gender Male
Status Offline
If I type format a: /q, after it loads for a while it asks me y/n. How should I write it so it can automatically choose y or n for it?
Thanks, moderators.
Floor 2 Posted 2003-02-21 00:00 ·  中国 广东 佛山 禅城区 电信
元老会员
★★★★
Credits 5,170
Posts 1,637
Joined 2002-10-16 00:00
23-year member
UID 8
Gender Male
From 广东佛山
Status Offline
You can add the /U parameter, then when formatting a floppy it won't ask you.
If you're formatting a hard disk, it will still ask once more. But when formatting a hard disk, using “echo Y | format c: /u /q /s” seems like it can't succeed.
我的网志
http://hzmys.blog.163.com/
我的网盘
firststep.qjwm.com
fsmys.ys168.com
ssmys.ys168.com
www.brsbox.com/fsmys
www.brsbox.com/ssmys
www.brsbox.com/ccdos
Floor 3 Posted 2003-02-21 00:00 ·  中国 吉林 延边朝鲜族自治州 延吉市 联通
银牌会员
★★★
想當一人之下萬人之上
Credits 1,275
Posts 393
Joined 2003-01-10 00:00
23-year member
UID 717
Gender Male
Status Offline
The parameter /autotest can make it so no prompt appears when formatting a disk. You can't find this parameter in format's help text. Just a reminder to use it less, use it carefully, and use it for the right purpose!
<- 刷新一下换个MM
叫我Jorkin或小p就行,别再叫playboy2925了,跟提犯人似的。
如果认为小弟发的logo不错的话,给朵鲜花我就知道了。:)
Floor 4 Posted 2006-10-15 04:52 ·  中国 河南 安阳 电信
初级用户
Credits 39
Posts 15
Joined 2006-10-14 07:42
19-year member
UID 65719
Status Offline
Then I wonder if adding /autotest will work
Floor 5 Posted 2006-10-22 10:49 ·  中国 黑龙江 牡丹江 中移铁通
初级用户
Credits 71
Posts 34
Joined 2006-09-15 02:15
19-year member
UID 62611
Status Offline
Of course it will.
What playboy2925 means is that Microsoft naturally has its reasons for hiding this parameter. He's reminding you not to use it on someone else's computer when they don't know about it.
Floor 6 Posted 2006-10-22 11:14 ·  中国 湖北 武汉 电信
版主
★★★★★
Credits 11,386
Posts 4,938
Joined 2006-07-23 17:10
19-year member
UID 59080
Status Offline

  Hehe~~~

     Learned another trick, bump this one~
Forum Jump: