This is what I tried without success (hence my frustration). I have just installed TweakUI which has a facility to manage templates. I noticed that the template files have been moved under Windows XP. They are now in the C:\Documents and Settings\All Users\Templates directory.

Thanks!

update: The Tweak UI procedure

  1. Load up TweakUI and find the 'Template' section in the left hand tree.
  2. Press the 'Create' button and browse to a Perl script that you want to use as a template. (at this point however the contents of the file don't really matter).
  3. TweakUI copies this file to C:\Documents and Settings\All Users\Templates and for some reason gives it a numeric filename. You can edit this file to contain the defaults that you are looking for in a template.
  4. Restart your PC (This is required since Windows Explorer needs to scan your registry for ShellNew keys)

You can also add a suitable description such as 'Perl Script' to the default value of the HKCR/Perl registry key so that Explorer prompts you with 'new Perl Script' rather than 'new .pl file'


In reply to Re: Re: Perl template file in windows new menu by inman
in thread Perl template file in windows new menu by inman

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.