Thanks for the reply. I knew it was crap coding and I recognized that it was calling twice, I just wanted to get the basic functionality going before tightening it up properly. Since I was experimenting trying to get it to work, I wasn't too concerned about the crap at the moment. I'm not a heavy-duty Perl coder, I'm a database admin, and didn't know that I could simply tie an 'or die' to the function call for error trapping, normally I'm quite dogmatic about including that.

Permissions isn't the issue, I'm using my network admin account when testing this. I was really wondering if I'm missing some sort of a network API call. The framework that this will fit in to reads and filters SQL Server logs every night, but that's just file I/O and works fine.

Thanks again! I'll plug your code in and give it a shot.

In reply to Re^2: Trying to get drive space info on remote Windows servers by Cloudster
in thread Trying to get drive space info on remote Windows servers by Cloudster

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.