中国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-09 02:23
47,811 topics / 349,895 posts / today 0 new / 48,253 members
DOS批处理 & 脚本技术(批处理室) » How to completely delete a folder
Printable Version  2,171 / 8
Floor1 5872169 Posted 2008-06-24 16:21
高级用户 Posts 474 Credits 959
I have a folder that gets recreated immediately after being deleted. How can I completely delete it? Please give me some pointers. Or write a piece of code, thanks!

[ Last edited by 5872169 on 2008-6-25 at 09:10 AM ]
Floor2 lxmxn Posted 2008-06-24 21:24
版主 Posts 4,938 Credits 11,386
Infected?

First kill the virus and then delete, or find the process or module that created this folder, kill it and then delete.

Recommended: Process Explorer
Floor3 HAT Posted 2008-06-24 23:30
版主 Posts 5,017 Credits 9,023
There is a process or service monitoring that folder. You don't provide more information, others can't provide more detailed help
Floor4 5872169 Posted 2008-06-25 09:10
高级用户 Posts 474 Credits 959
My folder is QQ\AD folder, I don't know his DLL files, I also want to find them.
Floor5 HAT Posted 2008-06-25 11:14
版主 Posts 5,017 Credits 9,023
Have you already posted several threads? FAT32 partition? It's better to describe the problem clearly in the top post.
Floor6 5872169 Posted 2008-06-26 12:37
高级用户 Posts 474 Credits 959
HAT Hello, I am a FAT32 partition, and the problem has not been solved. I really have no way, please forgive me!
Floor7 yxn064 Posted 2008-06-26 16:03
新手上路 Posts 9 Credits 16
del /f /a /q \\?\%1
rd /s /q \\?\%1
Save as *.bat
Put the files to be deleted inside
Floor8 5872169 Posted 2008-06-26 16:37
高级用户 Posts 474 Credits 959
yxn064, what I said is whether it can't be deleted, after deletion can be recreated, I don't want it to recreate this folder again
Floor9 HAT Posted 2008-06-26 16:41
版主 Posts 5,017 Credits 9,023
yxn064 is posting to increase points, probably needing to download something.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023