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 IamaSherpa 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. MyITGuy

    Mapped drives using VBScript - What's wrong with this code snippet?

    Callahan, This is your code with error checking (On Error Resume Next is required for error checking). You should only need to edit the User-supplied Constants section. Option Explicit '* Turn off error checking so that we can evaluate the Error '* returned. On Error Resume Next '*...
  2. MyITGuy

    Mapped drives using VBScript - What's wrong with this code snippet?

    Agreed. Sorry for the bad information.
  3. MyITGuy

    Mapped drives using VBScript - What's wrong with this code snippet?

    Callahan, The reason it appears to ignore these lines is because only local drives can be renamed. You may be able to see this error with this code: Option Explicit On Error Resume Next '* Variable declaration Dim strDriveLetter1:strDriveLetter1 = "F:" Dim strDriveLetter2:strDriveLetter2 =...

Part and Inventory Search

Back
Top