中国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-03 00:41
48,038 topics / 350,123 posts / today 1 new / 48,251 members
DOS批处理 & 脚本技术(批处理室) » Help, how to use a batch file to delete all permission-protected folders in a directory!
Printable Version  1,017 / 1
Floor1 Bee Posted 2006-12-30 10:55
初级用户 Posts 16 Credits 44 From 广东省
:oI have N files under E:\net\ and I want to delete all of them, but they have permissions. How can I delete them all at once under the current user? I tried RD foldername /s/q before, but it couldn't delete them and said the files inside the directory/folder had no permission to be deleted. Also, I don't want to type the file names and delete them one by one. Like deleting files, you can use wildcards, but I don't know how to use wildcards for folders!
Asking everyone for some guidance.... thanks, I need it urgently!:(

[ Last edited by Bee on 2006-12-30 at 10:57 AM ]
Floor2 不得不爱 Posted 2006-12-31 11:53
超级版主 Posts 2,044 Credits 5,310 From 四川南充
If the files are currently in use, they cannot be deleted
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023