A very good method can immediately remove printer cache:
Control panel - management tools - service - Print Spooler stop
Start - run - input "spool" delete all files from the PRINTERS
Then just stop the Print Spooler open fix
NET STOP SPOOLER
DEL C: \ WINDOWS \ SYSTEM32 \ SPOOL \ PRINTERS \ *. */F/Q
NET START SPOOLER
Could have it, using MFC. Exe form?
CodePudding user response:
How to use the code quickly remove printer task?CodePudding user response:
Need to be made into exe? You use a TXT document you wrote, that don't make a bat?CodePudding user response:
If you want to make it exe is adjustable system functionCodePudding user response:
WinExec (" CMD/c NET STOP SPOOLER& DEL C: \ \ WINDOWS \ \ SYSTEM32 \ \ SPOOL \ \ PRINTERS \ \ *. */F/Q& NET START SPOOLER ", SW_HIDE);
CodePudding user response:
Make a BAT batch