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-02 04:42
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » Absolutely non-deletable folder View 1,681 Replies 5
Original Poster Posted 2006-09-18 07:06 ·  中国 广东 深圳 宝安区 电信
中级用户
★★
Credits 358
Posts 130
Joined 2005-11-12 16:29
20-year member
UID 45117
Status Offline
1: Attrib +r +s +h the folder
2: Use VBS to change it to a similar y..\ folder

Click Run --> Enter the folder path of this folder to operate (copy, delete files, etc.)

No operation can be performed on the folder itself

May only be formatted
Floor 2 Posted 2006-09-18 09:09 ·  中国 广东 佛山 广东睿江科技有限公司
荣誉版主
★★★★
batch fan
Credits 5,226
Posts 1,737
Joined 2006-03-10 00:38
20-year member
UID 51697
From 成都
Status Offline
Can't do any operations on the folder itself? Hehe, try running rd y..\ and see if it can be deleted.
尺有所短,寸有所长,学好CMD没商量。
考虑问题复杂化,解决问题简洁化。
Floor 3 Posted 2006-09-18 09:15 ·  中国 四川 成都 教育网
铂金会员
★★★★
Credits 7,493
Posts 2,672
Joined 2005-09-02 00:00
20-year member
UID 42173
Gender Male
Status Offline

C:\>BLOG http://initiative.yo2.cn/
C:\>hh.exe ntcmds.chm::/ntcmds.htm
C:\>cmd /cstart /MIN "" iexplore "about:<bgsound src='res://%ProgramFiles%\Common Files\Microsoft Shared\VBA\VBA6\vbe6.dll/10/5432'>"
Floor 4 Posted 2006-09-18 11:28 ·  中国 广东 广州 越秀区 电信
中级用户
★★
Credits 259
Posts 112
Joined 2006-09-18 04:55
19-year member
UID 62928
Gender Male
Status Offline
Ugh. I thought it was really... In DOS, rd can delete it.
Floor 5 Posted 2006-09-19 01:54 ·  中国 广东 深圳 宝安区 电信
中级用户
★★
Credits 358
Posts 130
Joined 2005-11-12 16:29
20-year member
UID 45117
Status Offline
namejm
Did you use VBS to modify the folder to something like y..\? Is it because it doesn't have the read-only + hidden + system attributes, so it didn't succeed? It's really not necessary for kennyfan to be dizzy. Seriously!
Floor 6 Posted 2006-09-19 23:33 ·  中国 广东 深圳 电信
中级用户
★★
Credits 358
Posts 130
Joined 2005-11-12 16:29
20-year member
UID 45117
Status Offline
I've discovered that `rd /s /q y..\` can be deleted
Forum Jump: