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-07-01 12:02
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » To delete an encrypted folder that can't be deleted normally, how to do it using DOS? View 2,390 Replies 11
Original Poster Posted 2005-11-03 23:02 ·  中国 福建 漳州 电信
新手上路
Credits 5
Posts 3
Joined 2005-11-03 22:00
20-year member
UID 44550
Status Offline
For DOS, I'm a newbie and don't understand. I just learned DOS online. If I want to delete the d:\program files\bitcomet\downloads folder, is the DOS command "del d:\program files\bitcomet\downloads" written like this?
Floor 2 Posted 2005-11-03 23:06 ·  中国 福建 漳州 电信
新手上路
Credits 5
Posts 3
Joined 2005-11-03 22:00
20-year member
UID 44550
Status Offline
Newcomer is seeking help online!!! Warm-hearted people give guidance!
Floor 3 Posted 2005-11-03 23:26 ·  中国 北京 大兴区 联通
初级用户
★★
Credits 185
Posts 82
Joined 2005-08-12 13:41
20-year member
UID 41586
Gender Male
Status Offline
It can be like this under Windows 2000 and XP command lines, but it won't work under DOS
Floor 4 Posted 2005-11-04 11:29 ·  中国 广东 广州 番禺区 电信
金牌会员
★★★★
D◎$ Fαп
Credits 4,562
Posts 1,883
Joined 2004-01-19 00:00
22-year member
UID 15812
Gender Male
From 广东广州
Status Offline
What kind of encryption? Is it NTFS encryption?
----====≡≡≡≡ 我的至爱,永远是MSDOS!≡≡≡≡====----
Floor 5 Posted 2005-11-04 11:51 ·  中国 安徽 淮南 电信
银牌会员
★★★
爱DOS但不迷DOS
Credits 1,708
Posts 509
Joined 2004-02-25 00:00
22-year member
UID 18460
Gender Male
From 安徽淮南
Status Offline
If the folder is empty, use the rd command.
rd d:\program files\bitcomet\downloads
If the folder is not empty, you must empty the folder first.
del d:\program files\bitcomet\downloads\*.*
°·.∴▍★∴ 我们的泰坦尼克.....
   I l☆ve you!
☆.°·▍▍.☆█☆.°★ 永不会沉没.
◥█▅▅██▅▅██▅▅▅▅███◤
我的主页:http://wphs.ik8.com我的网络硬盘:wphs.ys168.com
Email:wphs@ah163.com QQ:43500498(附加消息:中国DOS联盟)
Floor 6 Posted 2005-11-04 14:13 ·  中国 福建 漳州 电信
新手上路
Credits 5
Posts 3
Joined 2005-11-03 22:00
20-year member
UID 44550
Status Offline
『Building 5』:

If the folder is empty, use the rd command
rd d:\program files\bitcomet\downloads
If the folder is not empty, you must empty the folder first
del d:\program files\bitcomet\downloads\*.*
Thank you very much!
Floor 7 Posted 2005-11-04 16:50 ·  中国 重庆 巴南区 电信
高级用户
★★
Credits 772
Posts 273
Joined 2004-10-23 00:00
21-year member
UID 32861
Gender Male
Status Offline
Several of you upstairs didn't notice that you all made a very elementary mistake.

del d:\program files\bitcomet\downloads\*.*

Can these commands be executed correctly?

On operating systems above 2K or 2K, it can be like this.

If you want to delete the entire directory and the files below, you can do it like this:

rd /q /s "d:\program files\bitcomet\downloads"

You can also use

del /q /s "d:\program files\bitcomet\downloads"

Then all the files in the directory, including the files in the subdirectories, are deleted.

In DOS, you can use

echo y | del d:\progra~1\bitcom~1\downlo~1\*.*
http://www.msfans.net/bbs/
Floor 8 Posted 2007-04-11 04:42 ·  中国 云南 昆明 电信
初级用户
Credits 25
Posts 7
Joined 2007-04-03 03:05
19-year member
UID 83769
Gender Male
Status Offline
So the original short path is the first 6 letters plus ~1
Floor 9 Posted 2007-04-11 04:45 ·  中国 湖北 武汉 电信
版主
★★★★★
Credits 11,386
Posts 4,938
Joined 2006-07-23 17:10
19-year member
UID 59080
Status Offline
Originally posted by funshion at 2007-4-10 15:42:
The short path is usually the first 6 letters plus ~1.


Generally, it is like this, but in some cases it is not. Please search for posts related to "short path".
Floor 10 Posted 2007-04-11 05:30 ·  中国 广东 深圳 福田区 电信
初级用户
Credits 52
Posts 19
Joined 2006-07-21 13:59
19-year member
UID 58970
Gender Male
Status Offline
Floor 11 Posted 2007-05-02 16:36 ·  中国 福建 龙岩 电信
初级用户
Credits 26
Posts 11
Joined 2007-04-25 07:32
19-year member
UID 86397
Gender Male
Status Offline
del d:\program files\bitcomet\downloads /s /q
rd /s /q
Floor 12 Posted 2007-05-02 16:37 ·  中国 福建 龙岩 电信
初级用户
Credits 26
Posts 11
Joined 2007-04-25 07:32
19-year member
UID 86397
Gender Male
Status Offline
Forum Jump: