Thursday, September 27, 2007

VBScript to set default printer in your desktop

'Script Start


Set objNetwork = WScript.CreateObject("WScript.Network")
objNetwork.SetDefaultPrinter("\\servername\printername")





'Script End



How to execute a VBScript

No comments: