Wednesday, 5 August 2015

Easy way to remove shortcut virus - Using .BAT file or CMD

The code need to copy pest in this process has been given below for your convenient.

@echo off
attrib -h -s -r -a /s /d Name_Drive:*.*
attrib -h -s -r -a /s /d Name_Drive:*.*
attrib -h -s -r -a /s /d Name_Drive:*.*
@echo complete

In my video I could not able to show what is really happened when saved the .bat file as “removevirus.bat” and double clicked on it because in my PC there is not shortcut virus at present. But, it is tested and proved that this system works very nicely.

Video demonstration on : https://www.youtube.com/watch?v=wQD6mHCuPwM


The Same command can be done by using Command Prompt.

1. Open RUN from start or by shortcut Win+ R
2. Open as Administrator
3. Type or Paste command attrib -h -s -r -a /s /d Name_Drive:*.*
     Name_Drive : The drive letter infected with virus (i.e D:)

No comments:

Post a Comment