Created
December 19, 2017 03:18
-
-
Save rubenbruno89/9cfb7f4d12ca85ec9aa046100c21ef3d to your computer and use it in GitHub Desktop.
AntvirusPen
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
@ECHO OFF | |
ECHO Digite a letra do seu dispositivo e pressione enter. | |
ECHO (Verifique a letra atraves do Windows Explorer) | |
ECHO. | |
ECHO Digite somente a letra: | |
set /p letter= | |
ECHO. | |
ECHO %letter%: selecionado. | |
ECHO. | |
ECHO Fechando o Explorer para evitar problemas. | |
ECHO (Sera aberto novamente ao finalizar o processo) | |
ECHO. | |
ECHO. | |
taskkill /im explorer.exe /f | |
ECHO. | |
ECHO. | |
ECHO Processando arquivos, aguarde... | |
ECHO. | |
attrib -r -a -s -h /s /d %letter%:\*.* | |
del %letter%:\*.lnk .vbs. .js .com /f /q | |
ECHO. | |
ECHO ------------CONCLUIDO!------------ | |
ECHO. | |
pause | |
start explorer | |
start explorer %letter%: | |
taskkill /im cmd.exe /f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment