Skip to content

Instantly share code, notes, and snippets.

@cogumm
Created March 29, 2019 13:11
Show Gist options
  • Save cogumm/6e14dfc241f0d041a0e65738261c6791 to your computer and use it in GitHub Desktop.
Save cogumm/6e14dfc241f0d041a0e65738261c6791 to your computer and use it in GitHub Desktop.
Script limpador de spooler de impressão Uindolus
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