Delete a printers set for pc through cmd:-
------------------------------------------
@echo off
WMIC /INTERACTIVE:ON PRINTER where PortName="LPT1:" DELETE
:y
WMIC /INTERACTIVE:ON PRINTER where PortName="LPT2:" DELETE
:y
WMIC /INTERACTIVE:ON PRINTER where PortName="LPT3:" DELETE
:y
pause
exit
Copy it in notepad and save as .bat file
------------------------------------------
@echo off
WMIC /INTERACTIVE:ON PRINTER where PortName="LPT1:" DELETE
:y
WMIC /INTERACTIVE:ON PRINTER where PortName="LPT2:" DELETE
:y
WMIC /INTERACTIVE:ON PRINTER where PortName="LPT3:" DELETE
:y
pause
exit
Copy it in notepad and save as .bat file
No comments:
Post a Comment