Do your Perl scripts (files ending in .pl) show some sort of perlish icon when you list them using Windows Explorer? If not - if you get the generic icon, instead of something unique, then chances are you don't have that extension associated with Perl.

To do this you'll need to go into Windows Explorer, select the Tools menu, and then select "Folder Options...". When you've got that dialog box up, choose the "File Types" tab. Search for the file extension ".pl". Most likely you won't find it. If you don't, then select the "New" button and create that association. You'll need to know where perl lives on the computer, in order to enter the path here. Once you've got your extensions associated with perl, then you should be able to run your scripts from startup.

Just wondering - did you install your perl using Activestate's distribution? That should have made all your associations for you, unless somehow you decided not to allow this. If you installed perl yourself, you might want to consider using the Activestate distribution, because it has some useful conveniences like the perl package manager (ppm).


In reply to Re: run perl script at startup by spiritway
in thread run perl script at startup by Blue_eyed_son

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.