Can someone please help me with this, I need to write a batch file that stops and starts the print spooler....this is what i have so far:
net stop spooler
del %systemroot%\system32\spool\printers\*.* /y
net start spooler
idealy, I would like to stop the print spooler, stop tcp/ip printing, then delete any files in the printers folder, then start the print spooler and tcp/ip printing....