http://www.perlmonks.org?node_id=851813


in reply to Re^2: write/read to remote machine
in thread write/read to remote machine

Did you double-up on the backslashes? The single quotes prevents $\ from interpolating, but '\\' still converts to '\':

Roboticus@Roboticus-PC ~ $ cat interp.pl #!/usr/bin/perl print '\\10.64.30.27\C$\Users\hari9', "\n"; print '\\\\10.64.30.27\\C$\\Users\\hari9', "\n"; Roboticus@Roboticus-PC ~ $ perl interp.pl \10.64.30.27\C$\Users\hari9 \\10.64.30.27\C$\Users\hari9

...roboticus