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
'*...
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 =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.