Batch File To Clear Windows Print Spooler

@echo off
echo Stopping print spooler.
echo.
net stop spooler
echo Deleting spool files…
echo.
FOR %%A IN (%systemroot%\system32\spool\printers\*.*) DO DEL %%A
echo Starting print spooler.
echo.
net start spooler

Advertisements

%d bloggers like this: