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 13:11
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » How do I use the delete command under DOS? View 1,340 Replies 9
Original Poster Posted 2004-02-29 00:00 ·  中国 重庆 联通
初级用户
Credits 103
Posts 1
Joined 2004-02-29 00:00
22-year member
UID 18828
Gender Male
Status Offline
How can I use the delete command under DOS properly?
Floor 2 Posted 2004-03-01 00:00 ·  中国 上海 鹏博士宽带
高级用户
★★
zhri
Credits 665
Posts 153
Joined 2004-02-23 00:00
22-year member
UID 18241
Gender Male
Status Offline
Use Deltree.

It's very convenient; after combining it with Smartdrv, it's basically just like Format c:/q

Format:
Deltree /y
Floor 3 Posted 2004-03-01 00:00 ·  中国 河南 安阳 联通
银牌会员
★★★
Credits 1,186
Posts 334
Joined 2003-05-30 00:00
23-year member
UID 2626
Gender Male
Status Offline
Operate with caution
“c:\>deltree /y . ” is the same as “format c: /q/u”
The delete command is also easy to use
echo y|del .
If you want to delete a file, just type the full name
del 霄金井薰
Floor 4 Posted 2004-03-02 00:00 ·  中国 山西 太原 联通
初级用户
Credits 159
Posts 11
Joined 2004-03-02 00:00
22-year member
UID 18986
Gender Male
Status Offline
After using something like c:\deltree /y, even unformat can't restore it, right?
Floor 5 Posted 2004-03-04 00:00 ·  中国 江苏 苏州 电信
初级用户
Credits 264
Posts 36
Joined 2004-01-12 00:00
22-year member
UID 15361
Gender Female
Status Offline
del filename wipes a file
rm directory name wipes a directory
Floor 6 Posted 2004-03-09 00:00 ·  中国 辽宁 沈阳 中移铁通
中级用户
Credits 268
Posts 40
Joined 2004-03-06 00:00
22-year member
UID 19388
Gender Male
Status Offline
Check del/?
or rm/?
Floor 7 Posted 2004-03-10 00:00 ·  中国 辽宁 沈阳 联通
铂金会员
★★★★
痴迷DOS者
Credits 5,798
Posts 1,924
Joined 2003-06-20 00:00
23-year member
UID 5583
Gender Male
From 金獅電腦軟體工作室
Status Offline
Under DOS you can also use the COPY NUL filename method to delete a file, and files deleted this way cannot be recovered. If you don't believe it, try it!
熟能生巧,巧能生精,一艺不精,终生无成,精亦求精,始有所成,臻于完美,永无止境!
金狮電腦軟體工作室愿竭诚为您服务!
QQ群:8393170(定期清理不发言者)
个人网站:http://www.520269.cn
电子邮件:doujiehui@vip.qq.com
微信公众号: doujiehui
Floor 8 Posted 2004-03-10 00:00 ·  中国 广西 玉林 电信
初级用户
Credits 140
Posts 11
Joined 2004-03-09 00:00
22-year member
UID 19666
Gender Male
Status Offline
How can COPY delete something? Isn't that for copying?
Floor 9 Posted 2004-03-10 00:00 ·  中国 广东 深圳 福田区 电信
银牌会员
★★
Credits 1,141
Posts 148
Joined 2004-03-08 00:00
22-year member
UID 19536
Gender Male
Status Offline
To delete things you should use DEL or RD
Floor 10 Posted 2004-03-15 00:00 ·  中国 重庆 教育网
中级用户
★★
Credits 323
Posts 51
Joined 2004-03-15 00:00
22-year member
UID 20174
Gender Male
Status Offline
After del, where does the deleted thing go?
It's not in recycled.
Forum Jump: