Last active
January 28, 2023 16:26
-
-
Save IPlayZed/82e1df2630ed8b613ff04cce5dfc3585 to your computer and use it in GitHub Desktop.
Clear Window's print spooler
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
rem Written by Balázs Börcsök. | |
rem Licensed under GNU GPL v2: https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html | |
echo stopping print spooler | |
echo | |
net stop spooler | |
echo erasing temp junk printer docs | |
echo | |
del /Q /F /S "%systemroot%\System32\Spool\Printers\*.* | |
echo starting print spooler | |
echo | |
net start spooler |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment