Created
March 29, 2019 13:11
-
-
Save cogumm/6e14dfc241f0d041a0e65738261c6791 to your computer and use it in GitHub Desktop.
Script limpador de spooler de impressão Uindolus
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 ################################################################ | |
echo Script limpador de spooler de impressão | |
echo LEMBRE-SE DE EXECUTAR COMO ADMINISTRADOR | |
echo NÃO ME RESPONSABILIZO POR MAUS DANOS À MÁQUINA COM ESTE SCRIPT, | |
echo FAVOR UTILIZÁ-LO SE APENAS TIVER CERTEZA DO QUE ESTEJA FAZENDO. | |
echo ################################################################ | |
echo Este script tem como objetivo limpar a fila de impressão do Uindolus | |
net stop spooler | |
echo spooler finalizado | |
cd %systemroot%\system32\spool\printers | |
echo acesso ao diretório do spooler | |
del /f /s *.shd | |
del /f /s *.spl | |
echo arquivos eliminados | |
net start spooler | |
echo spooler reinicializado |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment