I'm looking for a way to allow workstation users to clear the print queues on a remote SBS 2003 server.
The users are admins of their local workstations, but NOT admins for the server.
This batch file seems to work at stopping & starting the print service on the server:
sc \\sbserver stop spooler
ping -n 5 www.google.com
sc \\sbserver start spooler
... but I cannot seem to find the right command to place in the middle to delete all the files in the PRINTERS folder.
I have tried:
... but I get "The network name cannot be found".
Any help is appreciated!