Arguich811 <argui...@yahoo.co.uk> escribió en el mensaje de noticias
#XF7Xje5AHA.2056@tkmsftngp04...
> When I choose 'New' from the context menu that appears when
right-clicking
> the desktop, the submenu appears only after a delay of 8 seconds. Does
> anyone know what causes this and how to make this submenu appear faster?
>
> Regards,
>
> Armand
>
>
That's because Windows has to scan the registry (well, one or two Hkeys
anyway) to find all file types that have a key that says it should be
included in the new contextmenu.
So, as the registry grows, this will take a longer time. I don't know of
anything that can be done to speed this up, except to uninstall programs and
delete their file extensions from the registry.
HTH
Chris
You may have a Registry key or a template pointing to removable media
(floppy or CD-ROM) or to a disconnected network drive or path.
It is also possible that one of the extensions require loading a huge set of
DLLs just to have it listed. I hate programmers who write such stupid code
but they are *so* common...
--
Paul Chitescu
pchi...@pchitescu.myip.org pchi...@MetroNet.RO.EU.org
http://pchitescu.myip.org/ http://PaulC.MetroNet.RO.EU.org/
ICQ:22641673
Surely you have installed some apps wich might or might not have their own
file type ?
I've done some reverse engineering for you, here's the mechanism Windows
uses to construct the 'New' submenu :
First have a look (with regedit) at HKEY_CLASSES_ROOT. Do you see all those
entries starting with a period (like .386, .bmp, etc.) ? These are all
extensions known to your system. Every installed app which has is own
extension(s) has to register those in here.
When you expand one of them, say .txt, you'll see a subkey ShellNew (note
not all have this subkey but windows still has to scan all of them to see if
they have it).
When you look at the values for the .txt subkey you'll notice a string value
(Default) which, in this case has the value "txtfile".
Then, in the same HKEY look up the subkey txtfile, you'll find there that
the default value is a string which says "Text Document", that's the text
that is used in the 'New' submenu.
A subkey of this subkey named DefaultIcon points Windows to the default icon
to use for this type of file, an icon which is also used in the 'New'
submenu, so Windows has to look that up, too.
The last thing Windows has to lookup for _this _ filetype is a way to open
it. This is found in the subkey shell\open\command, but I'm not sure this
has to be processed while constructing the 'New' submenu.
Note that this has to be done for _every_ filetype which has a subkey
ShellNew.
Anyway, I'm sure you understand that the more filetypes there are, the more
time Windows has to spend to scan the registry finding all the relevant bits
A very nice thing you can do with this knowledge is making your own entries
for the 'New' submenu or deleting unwanted ones, or making a template file
for a new file of some kind.
For the former, you already should know how to do this, for the latter,
there's still some information missing.
In you windows folder, you should find a (hidden !) folder called ShellNew
which contains some files of different types. If you make, say, a new .txt
file there, say notepad.txt (to keep the naming convention in this folder,
but I guess this can be anything you like) and put in this file some
standard text, say your name and address, then you also should change some
registry settings to activate this file.
The next bit is entirely at your own risk, because registry editing is very
powerful, but can also render your system useless, so make a backup of the
registry first.
Go back to the .txt registry subkey under HKEY_CLASSES_ROOT, click on the
ShellNew subkey and notice a string value NullFile there. Change its name
to FileName and change the value to "notepad.txt". Close the registry and
try to create a new Text Document. Edit the name or leave it as it is, open
the file by double clicking it and see...
HTH
Chris
Is there a way to map a hotkey to New...Folder? That's pretty much all I
ever want to do with the New menu anyway. It's rare that I create a file
from here, and I don't make too many shortcuts either.
Thanks for your responses!
Arguich811 <argui...@yahoo.co.uk> escribió en el mensaje de noticias
#XF7Xje5AHA.2056@tkmsftngp04...
> When I choose 'New' from the context menu that appears when
right-clicking
> the desktop, the submenu appears only after a delay of 8 seconds. Does
> anyone know what causes this and how to make this submenu appear faster?
>
> Regards,
>
> Armand
>
>
>When I choose 'New' from the context menu that appears when right-clicking
>the desktop, the submenu appears only after a delay of 8 seconds. Does
>anyone know what causes this and how to make this submenu appear faster?
>
>Regards,
>
>Armand
>
Simply put............reduce the items in the "new" category down to
the only things you find absolutley necessary....or that you know you
will use. I have only one item in my context menu item "new", it's
"text document"(this does not pertain to the "folder" and "shortcut"
items as they are not the problem and are actually the only items I
ever use in this context menu selection), I have effectively reduced
the delay to negligble by using "tweakui" from MS. It has a tab in it
that allows the unselecting and even better yet the deleting of items
that you don't want appearing. Ask yourself if you really use or need
any item in the "new" menu choice and you will find how little you
really "need" these items, besides the "folder" and "shortcut" items
as mentioned previously.