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
A possible problem is how your file was encoded; try to save it as ANSI and run it again.