ShellNew

  • Thread starter Thread starter Tiara
  • Start date Start date
T

Tiara

Hi,

Does anyone know where the ShellNew folder
is in XP. I've been looking for it for about
a month. In W98 I used to be able to put
templates here that I could access by right
clicking a folder. Thanks,
T.
 
I don't have one. Are you saying I can make
a folder called
c:\windows\shellnew and put files there and
when I right click, say on the desktop, and
click new I will see those files. No way.

T.



"David Candy" <.> wrote in message
Same place, type it in Start Run,
 
Did you ****ing well do what I said or are you just an idiot, thinking you know better.

I'm not saying that at all. You are. It won't work in 98 or XP.
 
David, you're not solving my problem very
well - If you haven't got XP then why are
you replying here.

Tiara





"David Candy" <.> wrote in message
Did you ****ing well do what I said or are
you just an idiot, thinking you know better.

I'm not saying that at all. You are. It
won't work in 98 or XP.
 
Does anyone know where the ShellNew folder
is in XP. I've been looking for it for about
a month. In W98 I used to be able to put
templates here that I could access by right
clicking a folder. Thanks,

There is no "ShellNew" folder, and there wasn't in Windows 98 either.

Rather, a given file type either does or does not have a ShellNew
sub-key in the Registry. In Windows 98 I changed those keys to
ShellNewX if I didn't want the given type to come up in the right-
click "New" list, and I've done the same in XP.
 
Sat, 28 Jan 2006 09:46:41 -0500 from Stan Brown
There is no "ShellNew" folder, and there wasn't in Windows 98 either.

Rather, a given file type either does or does not have a ShellNew
sub-key in the Registry. In Windows 98 I changed those keys to
ShellNewX if I didn't want the given type to come up in the right-
click "New" list, and I've done the same in XP.

From David Candy's note I learn I'm wrong -- there _is_ a ShellNew
folder. The Registry business I talked about works, but apparently
those entries are merged with the shortcuts in ShellNew to make up
the list you get when you right-click and select New.
 
You were mostly right the first time. There is absolutely nothing special about the ShellNew folder. There are 4 ways of specifing a new file (depending on the exact registry entry). One of these is to base the file on an existing one. It's traditional to put the template in ShellNew, but you can stick it anywhere.

The 4 ways are
a/ Nothing (notepad uses this). A zero byte file is created.
b/ A command (my program Registry Shortcuts uses this)
c/ A file template. The file is copied from whereever the registery says it is to whereever you created the new file.
d/ A registry template. The contents of the new file are stored in the registry key and copied as above.

NOTE: The extension MUST have an Open command (ie Open in Registry not on menu - eg Pic & Fax viewer registers Open to itself but calls it Preview on the menu) for it to appear on New.
 
You were mostly right the first time. There is absolutely nothing special about the ShellNew folder. There are 4 ways of specifing a new file (depending on the exact registry entry). One of these is to base the file on an existing one. It's traditional to put the template in ShellNew, but you can stick it anywhere.

[snip]

Thanks for the additional info!
 
How to add a template to your Right-Click,
New context menu:


Go to windows folder and create a new folder
called ShellNew. You may already have this
folder if you have installed MS OFFICE or
other software.

Create your template and save it in this
folder.

Suppose your template extension is .HTA.
Then go the the registry, and under
HKCR\.hta create a new key called ShellNew.
In the right pane create a new value called
FileName. In the data pane type the name of
the file that is your template. Do not
include the path as windows automatically
looks in the ShellNew folder.

That's all there is to it. It will now
appear on the New context menu.

Happy Computing (except you David)

Tiara
 
Additionally:

If you're using the "FileName" method, and not mentioning the full path of
the template file, Windows looks for the specified file in these paths, in
the same order given:

%Userprofile%\Templates
%Allusersprofile%\Templates
%Systemroot%\ShellNew

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


How to add a template to your Right-Click,
New context menu:


Go to windows folder and create a new folder
called ShellNew. You may already have this
folder if you have installed MS OFFICE or
other software.

Create your template and save it in this
folder.

Suppose your template extension is .HTA.
Then go the the registry, and under
HKCR\.hta create a new key called ShellNew.
In the right pane create a new value called
FileName. In the data pane type the name of
the file that is your template. Do not
include the path as windows automatically
looks in the ShellNew folder.

That's all there is to it. It will now
appear on the New context menu.

Happy Computing (except you David)

Tiara
 
Back
Top