How to flush printer queue via command line on Windows 7?

6

4

How can I flush the printer queue with cmd.exe on Windows 7?

JohnnyFromBF

Posted 2012-06-02T16:20:03.873

Reputation: 4 298

1Why do I get negative votes, idiots at work? – JohnnyFromBF – 2012-06-02T16:51:53.430

Answers

11

Type the following commands into an elevated command prompt:

net stop spooler

del %systemroot%\system32\spool\printers\*.shd

del %systemroot%\system32\spool\printers\*.spl

net start spooler

Or make a batch file to run those commands.

Source

Then there is the hidden VBScript Utilities

Moab

Posted 2012-06-02T16:20:03.873

Reputation: 54 203