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
Check you are not using extended charater like á é í ó ú ñ in a variable's name