Loading ...
Sorry, an error occurred while loading the content.

Re: [PBML] UNC copy to "Program Files" folder is problematic because of the "space".

Expand Messages
  • merlyn@stonehenge.com
    ... dachner2002 The space in Program Files is giving me trouble. I m trying to use dachner2002 UNC to copy a file from one server to another. Don t use
    Message 1 of 3 , Aug 22, 2007
    • 0 Attachment
      >>>>> "dachner2002" == dachner2002 <dachner@...> writes:

      dachner2002> The "space" in "Program Files" is giving me trouble. I'm trying to use
      dachner2002> UNC to copy a file from one server to another.

      Don't use system() if you don't need it:

      use File::Copy;
      copy $src, $dest;


      --
      Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
      <merlyn@...> <URL:http://www.stonehenge.com/merlyn/>
      Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
      See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
    • dachner2002
      Perfect!! Thanks a million!! Don ... I m trying to use ... 777 0095 ... training!
      Message 2 of 3 , Aug 22, 2007
      • 0 Attachment
        Perfect!!

        Thanks a million!!

        Don


        --- In perl-beginner@yahoogroups.com, merlyn@... wrote:
        >
        > >>>>> "dachner2002" == dachner2002 <dachner@...> writes:
        >
        > dachner2002> The "space" in "Program Files" is giving me trouble.
        I'm trying to use
        > dachner2002> UNC to copy a file from one server to another.
        >
        > Don't use system() if you don't need it:
        >
        > use File::Copy;
        > copy $src, $dest;
        >
        >
        > --
        > Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503
        777 0095
        > <merlyn@...> <URL:http://www.stonehenge.com/merlyn/>
        > Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
        > See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl
        training!
        >
      Your message has been successfully submitted and would be delivered to recipients shortly.