I have some modules, not sure if I've got win32::FileOp, I'll check next.
d:\>net use \\BLAH\NESTED\OBFUSCATED.WITH SPECIAL_CHARS\SHARE\NAME\DOW +N\DEEP Local name Remote name \\BLAH\NESTED\OBFUSCATED.WITH SPECIAL_CHARS\SHARE\NA +ME\DOWN\DEEP Resource type Disk Status Disconnected # Opens 0 # Connections 4 The command completed successfully. d:\>ROBOCOPY "C:\Users\test\AppData\Local\Temp" "\\BLAH\NESTED\OBFUSCA +TED.WITH SPECIAL_CHARS\SHARE\NAME\DOWN\DEEP" crap.csv /B ---------------------------------------------------------------------- +--------- ROBOCOPY :: Robust File Copy for Windows ---------------------------------------------------------------------- +--------- Started : Thu Oct 11 11:51:58 2018 2018/10/11 11:51:58 ERROR 5 (0x00000005) Getting File System Type of D +estination \\BLAH\NESTED\OBFUSCATED.WITH SPECIAL_CHARS\SHARE\NAME\DOWN\DEEP\ Access is denied. Source : C:\Users\test\AppData\Local\Temp\ Dest - \\BLAH\NESTED\OBFUSCATED.WITH SPECIAL_CHARS\SHARE\NAME\DOW +N\DEEP\ Files : crap.csv Options : /COPY:DAT /B /R:1000000 /W:30 ---------------------------------------------------------------------- +-------- 1 C:\Users\test\AppData\Local\Temp \ 100% Newer 2.2 m crap.csv ---------------------------------------------------------------------- +-------- Total Copied Skipped Mismatch FAILED Extras Dirs : 1 0 1 0 0 0 Files : 1 1 0 0 0 0 Bytes : 2.23 m 2.23 m 0 0 0 0 Times : 0:00:01 0:00:01 0:00:00 0:00:00 Speed : 1469544 Bytes/sec. Speed : 84.088 MegaBytes/min. Ended : Thu Oct 11 11:52:00 2018
Thanks,
- 3dbc

In reply to Re^2: perl robocopy to temp mapped drive. by 3dbc
in thread perl robocopy to temp mapped drive. by 3dbc

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.