[QUOTE=tralfaz;10755814]
Quote:
|
Originally Posted by t1janpr33
I've created a batchfile that will stop the spoolerservice, delete all existing SPL and SHP files, then restart the spoolerservice
.........................................................................................
Great post and very useful batch file! thanks t1janpr33!
I needed to use it so often that I made an icon on my desktop for it.
Here's how that is done, in case someone need to know...
Copy t1janpr33's code and make a batch file with it like this..
Select this following code with your mouse:
@echo off
cls
net stop spooler
del %systemroot%\system32\spool\*.spl
del %systemroot%\system32\spool\*.shd
net start spooler
Press CTRL C to copy it to your clipboard
Open notepad
Paste that code into notepad with CTRL V
Click on File-->Save As
Change the type of file from txt to "All Files"
Give it a file name like "Cancel Print jobs.bat"
Save it to a location that you will remember. I saved mine to C:\
(the root directory of the C drive). Don't save it to your desktop because you can't change the icon for it if you do.
Go to your desktop view
Right click on the desktop and chose NEW-->Shortcut
Click on the browse button and locate your file "Cancel Print Jobs.bat" in the root directory of drive C (or wherever you put it).
Click NEXT
I changed the shortcut name to Cancel Print jobs (left off the .bat part)
Now find the new icon on your desktop and right click it
Click on "Properties"
click on "Change Icon"
Select a printer icon
That's it. Thanks again to t1janpr33 for providing the very useful batch file code.
tralfaz
|
Brilliant SOLUTION....Our IT manager was not able to solve my problem. good thing i found this solution in google...Thanks guys...