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-09 01:24
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » How to completely delete a folder View 2,169 Replies 8
Original Poster Posted 2008-06-24 16:21 ·  中国 山东 济南 联通
高级用户
★★★
Credits 959
Posts 474
Joined 2007-10-25 10:40
18-year member
UID 100716
Gender Male
Status Offline
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 ]
Floor 2 Posted 2008-06-24 21:24 ·  中国 湖北 武汉 联通
版主
★★★★★
Credits 11,386
Posts 4,938
Joined 2006-07-23 17:10
20-year member
UID 59080
Status Offline
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
Floor 3 Posted 2008-06-24 23:30 ·  中国 重庆 电信
版主
★★★★★
Credits 9,023
Posts 5,017
Joined 2007-05-31 19:39
19-year member
UID 89899
Gender Male
Status Offline
There is a process or service monitoring that folder. You don't provide more information, others can't provide more detailed help
Floor 4 Posted 2008-06-25 09:10 ·  中国 山东 济南 联通
高级用户
★★★
Credits 959
Posts 474
Joined 2007-10-25 10:40
18-year member
UID 100716
Gender Male
Status Offline
My folder is QQ\AD folder, I don't know his DLL files, I also want to find them.
Floor 5 Posted 2008-06-25 11:14 ·  美国 惠普HP
版主
★★★★★
Credits 9,023
Posts 5,017
Joined 2007-05-31 19:39
19-year member
UID 89899
Gender Male
Status Offline
Have you already posted several threads? FAT32 partition? It's better to describe the problem clearly in the top post.
Floor 6 Posted 2008-06-26 12:37 ·  中国 山东 济南 联通
高级用户
★★★
Credits 959
Posts 474
Joined 2007-10-25 10:40
18-year member
UID 100716
Gender Male
Status Offline
HAT Hello, I am a FAT32 partition, and the problem has not been solved. I really have no way, please forgive me!
Floor 7 Posted 2008-06-26 16:03 ·  中国 河南 郑州 联通
新手上路
Credits 16
Posts 9
Joined 2008-06-25 00:48
18-year member
UID 120775
Gender Male
Status Offline
del /f /a /q \\?\%1
rd /s /q \\?\%1
Save as *.bat
Put the files to be deleted inside
Floor 8 Posted 2008-06-26 16:37 ·  中国 山东 济南 联通
高级用户
★★★
Credits 959
Posts 474
Joined 2007-10-25 10:40
18-year member
UID 100716
Gender Male
Status Offline
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
Floor 9 Posted 2008-06-26 16:41 ·  美国 惠普HP
版主
★★★★★
Credits 9,023
Posts 5,017
Joined 2007-05-31 19:39
19-year member
UID 89899
Gender Male
Status Offline
yxn064 is posting to increase points, probably needing to download something.
Forum Jump: