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-07 16:26
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » How to batch delete malformed folders? View 3,216 Replies 16
Floor 16 Posted 2008-02-29 20:57 ·  中国 山东 济南 联通
高级用户
★★★
Credits 959
Posts 474
Joined 2007-10-25 10:40
18-year member
UID 100716
Gender Male
Status Offline
On the 15th floor, how to write the code with the path?
Floor 17 Posted 2008-03-01 18:39 ·  中国 广东 揭阳 电信
银牌会员
★★★★
SuperCleaner
Credits 2,362
Posts 1,133
Joined 2008-02-02 21:36
18-year member
UID 110072
Gender Male
Status Offline
Can this be possible (probably... it won't delete by mistake...)
for /l %%a in (1,1,50) do (rd %%a..\ /s /q)
If there is also a con\ placed inside, then it's another matter...
Forum Jump: