I know I should be able to figure this one out, but my mind is just stuck. I am running a script on a Win2000 system which has a primary hard drive (c:, naturally) and a secondary hard drive (d:). The script runs from the D:/ command line. It has two "system ()" calls which request commands to be run on the c:/. I am receiving an error "'c:\program' is not recognized as an internal or external command, operable program or batch file.'". I would assume that the reason is that I am unable to go from one drive to the other. Here is part of my code (one of the system calls).
my $downloadbank = "c:/program files/symantec/procomm plus/programs/pw +5.exe bankpull.wax jbankrib.txt"; system ($downloadbank);
Any ideas. Is there a module to help me with this task or am I just coding incorrectly? Thanks. blacksmith.

In reply to 'system' call on a different drive by blacksmith

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.