in reply to Re: perl and unc paths
in thread perl and unc paths

Except 'chdir \\\\comp1\\newfolder doesnt work!'

Replies are listed 'Best First'.
Re^3: perl and unc paths
by soonix (Chancellor) on Aug 27, 2016 at 12:11 UTC

      Like pushd does, you'll need to create a virtual drive first

Re^3: perl and unc paths
by Anonymous Monk on Aug 22, 2016 at 18:31 UTC
    On Windows that is... pushd and popd would work, except you can't do system("pushd \\\\unc_path1\\folder") because it spawns a new shell and then exits with system()