Created
March 30, 2014 10:27
-
-
Save AshikNesin/9870723 to your computer and use it in GitHub Desktop.
Batch script to remove shortcut virus from Pendrive....... Read More : http://www.hugethoughts.com/create-basic-antivirus/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
attrib -r -a -s -h /s /d | |
attrib -r -a -s -h autorun.inf | |
del autorun.inf | |
mkdir autorun.inf | |
attrib +s +h +r autorun.inf | |
attrib -s -h -r RECYCLER | |
rd /s RECYCLER | |
copy /y NUL RECYCLER | |
attrib +s +h +r RECYCLER | |
cacls /P autorun.inf everyone:N | |
cacls /P RECYCLER everyone:N |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment