Hi there,
I am using the script to set the default printer. Now I would like to check if is be set TRUR or FALSE, If so(TRUE) then prompt a msg.
----------------------------------------------
Set WshNetwork = WScript.CreateObject("WScript.Network"
PrinterPath = "\\CN-SHAPRT001\SHAP011"
'WshNetwork.AddWindowsPrinterConnection PrinterPath
WshNetwork.SetDefaultPrinter PrinterPath
-----------------------------------------------
Can you tell me how to do this?
Cheers
I am using the script to set the default printer. Now I would like to check if is be set TRUR or FALSE, If so(TRUE) then prompt a msg.
----------------------------------------------
Set WshNetwork = WScript.CreateObject("WScript.Network"
PrinterPath = "\\CN-SHAPRT001\SHAP011"
'WshNetwork.AddWindowsPrinterConnection PrinterPath
WshNetwork.SetDefaultPrinter PrinterPath
-----------------------------------------------
Can you tell me how to do this?
Cheers