scuse me for being 1 minute behind you in posting.

I was just repeating that solution to make the node complete, not as an indication that there was a problem with the timing of your answer. Call it an inlined hyperlink if you wish.

Nope! This works: system "start c:\\test\\DigThis.bat";

I never said it didn't. I didn't say quotes were needed. You misquoted me. The fragment of my sentence you quoted was part of the condition ("If ... you need to use quotes, ...").

But this doesn't! system("start \"\" \"c:\test\DigThis.bat\"");

Only because the file doesn't exist. File names with tabs in them appear to be illegal in Windows. On the other hand, the following *does* work.

system("start \"\" \"c:\\test\\DigThis.bat\"");

In reply to Re^4: Call batch script in new command / DOS window by ikegami
in thread Call batch script in new command / DOS window by Olaf

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.