October 20, 2008

This is a simple batch file. It’s used prevent the computer from getting the pendrive virus. It’s a prevention method; not a disinfection method. But disinfect your pen drive alone. First the virus is disinfected, then opening the pen drive using explorer. It’s always good idea to open the content after deleting the virus.

00 k: [pen drive mount point]
01 attrib -s -h -r *
02 attrib -s -h -r /S /D *exe
03 del *inf
04 del new*exe
05 del reg*exe
06 del *ill*vbs
07 explorer k:\ [pen drive mount point]

in line 01 you are making the virus atribute to delete.
then deleting malwares using some wild cards, etc.,
make it as a batch file and use it to access the pen drive.

As a hacker one should capable of removing the virus manually. Not using the Anti Virus tools. Am running my computer without any antivirus nearly for 1.5 years Do you know how am managing to get rid of virus and other malwares??

Do you think it’s easy to delete the virus just by delete key. Even you deleted it SOME VIRUS MAY NOT DELETE. Some virus are WRITE PROTECTED. so use this given below commands

K:\New Folder>attrib -s -h -r /S /D *exe
K:\New Folder>DEL /S *exe
Deleted file – K:\New Folder\new.exe
Deleted file – K:\New Folder\New Folder\new.exe

use wildcards and flas the extract the virus file.
Save the “any.exe” [normal your file] as “any” without extension. when using copy  system where you need and change extenstion by just renaming.

use effective and simple way people. This also erases the “write-protected” virus.



If you have any computer related problem, you can ask it at our Question & Answer portal and our experts will answer your queries.

About

Bishwajeet Mahato is the Founder and CEO of Comptalks, an online portal and offline college magazine.He is a fifth year undergraduate student of IIT Kharagpur,India and he loves writing about technology and helps people solve their computer related problems. Nowadays, he is also interested in digital marketing and has worked for several top notch companies. Follow him on Twitter @mahato99

Copyright © 2011 Comptalks - All Rights Reserved.