While the error message(s) seems FAIRLY obvious... it is perhaps misleading. The fact that your .html page loads despite inoperable links is not terribly relevant. But the inoperable links are!

To my eyes, your problem is trying to execute a script from an <a href...

Customarily, one would use a form whose action = the file you wish to execute. Since it you're running on a windows server (1. sorry, no knowledge there; 2. It would be helpful to tell us, explicitly, rather than require us to draw inferences from your error!!), you may be able to make the .bat file the action, directly, but if not fall back on your (misleadingly named) "runindex.pl" in a valid .html form.

You may wish to note that TTBOMK, ISPs and sysadmin rarely use the directory containing publicly available .html as a directory in which a (update specifying perl, in light of .php, etc) perl script is executeable. That may also have something to do with your error... Customarily, scripts go into a cgi-bin directory (location determined by the sysadmin or ISP)

...and, overall, the bits of information and code you've provided are not -- at least for me -- adquate to diagnose your problem. Please, Update with additional code, system info, etc.


In reply to Re: Am I missing something major here (system/exec)? by ww
in thread Am I missing something major here (system/exec)? by kjg

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.