Last active
December 7, 2015 15:39
-
-
Save MinhasKamal/74e4cdaf30b790ec035b to your computer and use it in GitHub Desktop.
🔨 Fixes pendrive attacked by shortcut virus.
This file contains hidden or 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
@echo --------------------------------------------------------------- | |
@echo Shortcut Fixer | |
@echo --------------------------------------------------------------- | |
@echo Instructions: | |
@echo 1. insert your pendrive | |
@echo 2. input your pen drive letter [**be very carefull**] | |
@echo --------------------------------------------------------------- | |
@pause | |
@echo. | |
@echo Enter drive letter: | |
@set /p drive= | |
@echo. | |
@attrib -h -r -s /s /d %drive%:\*.* | |
@%drive%: | |
@del *.lnk /f/s/q | |
@echo Task Completed. | |
@pause | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment