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 Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by ZenKenobi

  1. ZenKenobi

    Need help with a script

    Jill, If your only having a problem with deleting the files when someone is logged in, you probably have a process somewhere in task manager that is using those files. Until that process is stopped, you will not be able to delete the files. Try opening up task manager (CTRL+ALT+DEL, click task...
  2. ZenKenobi

    Deleting a local printer with VBScript

    I've tried the RemovePrinterConnection method, but it seems to only work for Network printers. When I enum printer connections, it only displays network printer connections. I tried the RemovePrinterConnection method using the UNC name of the printer as an argument (\\ComputerName\PrinterName)...
  3. ZenKenobi

    Deleting a local printer with VBScript

    Does anyone know how to delete a local printer using VBScript. There are plenty of resources out there that describe deleting a network printer connection, but nothing on deleting a local printer. I tried this strComputer = "." Set objWMIService = GetObject("winmgmts:" _ &...

Part and Inventory Search

Back
Top