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 Mike Lewis 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. jack1529

    Installing printer using vbs and getting error

    thank you. The script now runs with no errors but the printer does not install
  2. jack1529

    Installing printer using vbs and getting error

    I'm trying to run the following script and keep gettin this error...Microsoft VBScript runtime error: Object required: '[string: "..."]'It happens on line three. Please help! Dim objnetwork Set objNetwork = WScript.CreateObject("WScript.Network") Set strComputer= objNetwork.ComputerName Set...
  3. jack1529

    Deleting and mapping network drives

    I am new to vbs and I want to delete network drives if they exist and then map new network drives. Below is a script I put together but it does not work. Please help! Set WSHNetwork = CreateObject("WScript.Network") Set objNetwork = WScript.CreateObject("WScript.Network") If exist...
  4. jack1529

    Another question about VB Scripts

    This is the script I came up with, but when I run it nothing happens. Can someone please help. Dim objShell, RegLoc Set objShell = WScript.CreateObject("WScript.Shell") On Error Resume Next RegLoc = "[HKEY_Current_User\Control Panel\International]" objShell.rewrite...
  5. jack1529

    Another question about VB Scripts

    I am new to VB and could use some help writing a script for net time and date settings
  6. jack1529

    First time using VBS, need help

    thank you that worked perfect.
  7. jack1529

    First time using VBS, need help

    I have a few bat files that I want to convert into vbs. They basically are if then statemnets but I am not sure how to convert them. The first is...if not exist "C:\programfiles\..." copy "C:\programfiles\..." The others to are...if exist "C:\programfiles\..." del "C:\programfiles\..." . Can...

Part and Inventory Search

Back
Top