The following is a quote from winddeity on 2004-1-21 3:45:00:
I got the Happy Time virus. I used the special killing tool to kill it, but I couldn't delete desktop.ini and folder.htt that are all over the hard disk.
I want to write a program, but I don't know how to traverse folders. Please help!
3x!!!!!!!!!!!!!!!!!1
You can use the DOS version of PKZIP to complete this task. Here is a batch file I wrote, you can give it a try.
@ECHO OFF
CD\
IF EXIST C:\TMP^TMP.ZIP DEL C:\TMP^TMP.ZIP
PKZIP.EXE -a -exx -p -r -o -= -a+ -n+ -! -m C:\TMP^TMP.ZIP desktop.ini > NUL
PKZIP.EXE -a -exx -p -r -o -= -a+ -n+ -! -m C:\TMP^TMP.ZIP folder.htt > NUL
DEL C:\TMP^TMP.ZIP
Note: This method will delete all DESKTOP.INI and FOLDER.HTT files on the disk. If you want to keep these two files in the system directory (such as the WINDOWS directory), please back up these two files in the system directory first, and then restore these two files after performing this operation. It is specially noted that you must clear the virus completely before performing the backup, remember! Remember! Good luck to you! Also, I wish you a happy Spring Festival!
The download link for PKZIP is as follows:
http://model.chinajewelry.net/dos/dosbbs/uploadImages/200311251526137234.rar
熟能生巧,巧能生精,一艺不精,终生无成,精亦求精,始有所成,臻于完美,永无止境!
金狮電腦軟體工作室愿竭诚为您服务!
QQ群:8393170(定期清理不发言者)
个人网站:
http://www.520269.cn
电子邮件:doujiehui@vip.qq.com
微信公众号: doujiehui