I get a compilation error when I try to run the following vbs code from a command prompt in Windows 7.
Option Explicit Dim objNetwork, strRemotePath1, strRem
FYI for those with the same problem in the future, to fix this: