Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Re: Perl template file in windows new menu

by inman (Curate)
on Mar 22, 2004 at 14:19 UTC ( [id://338623]=note: print w/replies, xml ) Need Help??


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

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'

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://338623]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2024-03-29 08:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found