Windows Delete all print jobs

For when the spooler gets stuck in the "Deleting ..." print job state.

net stop spooler
del %systemroot%\system32\spool\printers\*.shd
del %systemroot%\system32\spool\printers\*.spl
net start spooler


I've also added those commands to my desktop as DeletePrintJobs.cmd

The instructions were taken from Microsoft Support