Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. madison2008

    Help with this script

    Totally new to vbscripting, still reading on WSH and VBScripting Programming 2nd Edition for absolute beginner. Thank you :)
  2. madison2008

    Help with this script

    Nevermind I got it to work. Thank you ettienne. Set WshNetwork = WScript.CreateObject("WScript.Network") On Error Resume Next WshNetwork.RemovePrinterConnection "\\sny-apps\canon1" On Error Resume Next WshNetwork.RemovePrinterConnection "\\sny-apps\canon2" On Error Resume Next...
  3. madison2008

    Help with this script

    Thanks ettienne. Where do I insert that code? Below is still not working. Thanks again. Set WshNetwork = WScript.CreateObject("WScript.Network") WshNetwork.RemovePrinterConnection "\\sny-apps\canon1" On Error Resume Next WshNetwork.RemovePrinterConnection "\\sny-apps\canon2" On Error Resume...
  4. madison2008

    Help with this script

    I am trying to delete a selected network printers for our users but in the real world, some user may only have 1 or of the 3 printers I needed to delete installed. For example if the user only has canon2 and canon3 installed, the script errors out because it does not detect canon1 and the script...

Part and Inventory Search

Back
Top