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
- Load up TweakUI and find the 'Template' section in the left hand tree.
- 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).
- 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.
- 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' |