Hello,

 

I am trying to write a Perl script that will replicate a directory on
one computer to another. All of the computers are running XP. I do have
administrative privileges.

 

The problem is when I run the line below I never get connected to the
computer from within the scripted.

 

 system "net use m: \\$node\\c\$ <file:///\\$node\c\$>  user:/username
password";

 

The error I get from the line is a syntax error.

 

If I map the drive manually my script works.(That's no good when you
have to do it 40 times )

 

Any suggestions would be appreciated 

 

Thanks for your help! 

 

Larry Sandwick

Sarreid, Ltd.

Network Administrator

(252) 291-1414 x223

 

Reply via email to