中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-18 20:33
47,814 topics / 349,908 posts / today 1 new / 48,259 members
DOS疑难解答 & 问题讨论 (解答室) » To delete an encrypted folder that can't be deleted normally, how to do it using DOS?
Printable Version  2,436 / 11
Floor1 0070 Posted 2005-11-03 23:02
新手上路 Posts 3 Credits 5
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?
Floor2 0070 Posted 2005-11-03 23:06
新手上路 Posts 3 Credits 5
Newcomer is seeking help online!!! Warm-hearted people give guidance!
Floor3 floor Posted 2005-11-03 23:26
初级用户 Posts 82 Credits 185
It can be like this under Windows 2000 and XP command lines, but it won't work under DOS
Floor4 JonePeng Posted 2005-11-04 11:29
金牌会员 Posts 1,883 Credits 4,562 From 广东广州
What kind of encryption? Is it NTFS encryption?
Floor5 wphs0326 Posted 2005-11-04 11:51
银牌会员 Posts 509 Credits 1,708 From 安徽淮南
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\*.*
Floor6 0070 Posted 2005-11-04 14:13
新手上路 Posts 3 Credits 5
『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!
Floor7 chenhui530 Posted 2005-11-04 16:50
高级用户 Posts 273 Credits 772
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\*.*
Floor8 funshion Posted 2007-04-11 04:42
初级用户 Posts 7 Credits 25
So the original short path is the first 6 letters plus ~1
Floor9 lxmxn Posted 2007-04-11 04:45
版主 Posts 4,938 Credits 11,386
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".
Floor10 wjzhhr Posted 2007-04-11 05:30
初级用户 Posts 19 Credits 52
Floor11 d283405329 Posted 2007-05-02 16:36
初级用户 Posts 11 Credits 26
del d:\program files\bitcomet\downloads /s /q
rd /s /q
Floor12 d283405329 Posted 2007-05-02 16:37
初级用户 Posts 11 Credits 26
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023