Windows Perl Scripting Forums » News

Perl, and copying files in Windows using UNC names

(1 post)
  • Started 6 years ago by

No tags yet.

  1. Anonymous

    Hi -
    this is little baby script (using Windows) works fine:

    use File::Copy;
    copy("/gsa.txt", "/hurray.txt") or die $!;

    But, when I do things like this:
    use File::Copy;
    copy("\\servername1\gsa.txt", "servername2\\hurray.txt") or die $!;

    it just bombs...sigh.
    any thoughts?

    Posted 6 years ago #

RSS feed for this topic


You must log in to post.