Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Ordering the elements when Right-Click on the Desktop and choose New

03 May 2012   #1
Amabranta

Windows 7 SP1 Ultimate x64
 
 
Ordering the elements when Right-Click on the Desktop and choose New

Hi All,

I have been investigating how to order the elements shown in the "New" Menu after right-clicking in the desktop... have found barely nothing about this... I would like to give it try here about this.
Problem comes from Win95 to the present days of Win7... How to order the elements in the New Menu when right-clicking in the desktop.
Add and remove elements from that seems quite simple with registry tweaks or any Tweak GUI program.
I usually have four or five elements there. But there is one I use a lot "New Text Document". When working fast I usually think "Could be nice to have that element the first of all. So I have decided to investigate it...

The more accurate data I have found in the Internet is this:
Template sort order (File > New in Windows Explorer)
Here, a lost guy with two posts in that forum realizes that the sorting method of the elements is not by the name .... as he says: "It's just that they are sorted alphabetically by file extension!"

Anybody in the internet speaks more than that.
So! I create a new file extension .aaa which opens with notepad. I tell the registry for appear in the New Menu and there it goes! the first of all the elements... good! but... it´s extension is aaa not txt...

Is really so hard-coded this section that this mission has no future? even in Win7? Does anybody know something about this?

Thanks in advance, but I guess I will not have any answer


My System SpecsSystem Spec
.

12 May 2012   #2
Neutron16

Windows 8.1 ; Windows 7 x86 (Dec2008-Jan2013)
 
 

Depending on your answers to the following questions I might have a solution for you.

Will you be okay if new file will be created, but explorer won't focus on it (if there are many files in the folder you might have to scroll for that new one)?
Normally freshly created file gets focused and highlighted for renaming (not the case in my workaround).

Also, in my workaround you can't create Text_document.txt, Text_document(1).txt and Text_document(2).txt). You would have to create first one, rename, create a second one etc. Otherwise, first file will be overwritten by a second one.

If you are okay with these limitations, here is the solution:
1. Create empty file Sample.txt in folder C:\Windows\SHELLNEW
2. Run the following reg file:
Code:
Windows Registry Editor Version 5.00 
[HKEY_CLASSES_ROOT\.avi\ShellNew] 
"Command"="cmd.exe /c copy \"C:\\Windows\\SHELLNEW\\Sample.txt\" \"%1.txt\"" 
"IconPath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\ 
  74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,69,\ 
  00,6d,00,61,00,67,00,65,00,72,00,65,00,73,00,2e,00,64,00,6c,00,6c,00,2c,00,\ 
  2d,00,31,00,30,00,32,00,00,00 
"ItemName"="@%SystemRoot%\\system32\\notepad.exe,-470" 
"MenuText"="@%SystemRoot%\\system32\\notepad.exe,-470"
I have chosen avi, because it was registered in the system already and it starts with A, so it will be at the top of the list. But you can use any other registered file type or create a new one.

Restart/log-off might be required to pick up new registry settings.

Basically, script copies Sample.txt with a new name in the desired folder.




.
My System SpecsSystem Spec
22 May 2012   #3
Amabranta

Windows 7 SP1 Ultimate x64
 
 

Hi Neutron,

Nice try, I remember used something similar without success. This example when used in the desktop the file does not appear until refresh. Second because windows does not let you change the name "New Document.avi.txt" There is nothing to do in this area... too dirty for Windows I think...

This section of Windows is totally closed for user level. I think that the best way to do this is to access to the order items section in the File New Menu, because in some place it tells to do it by extension name. Probably, there´ll be the need to touch a dll or something, obviously no one in normal conditions is going to investigate this, so I think we have arrived to a wall

But thanks anyway for the try.

Regards.
My System SpecsSystem Spec
.


Reply

 Ordering the elements when Right-Click on the Desktop and choose New




Thread Tools





Similar help and support threads
Thread Forum
Adobe Premier Elements and Photshop Elements 12 terminate
Win7/64 fresh install of Adobe Premier Elements/Photoshop Elements 12 results in both apps terminating with no error message-they just disappear. Desktop machine i7 3770k processor Nvida GE force GTX670 GC 16 GB memory . Starting either Premier elements or Photoshop elements results in both apps...
Software
Choose default program button (in Right-Click) not working
I get the same error, when I right click on a file and hover the mouse on Open With option, then in the Open With context Menu, I want to choose default program for that file, it shows me an error saying: This file does not have a program associated with it for performing this action, please...
General Discussion
Ordering A New Desktop PC Questions, Please. (from a Sr. citizen)
Hello, It looks like my three year old hp pavilion desktop pc has given up the ghost. Haven't got the energy to put in a new hd now at my age, so will just get,something new. I still want a desktop model, though. From the little,I've read, it seems that there are about the same percentage...
General Discussion
Choose default program button (in Right-Click) not working!?
Hey Guys! When I right click, open with, choose default program button, it gives me an error says: "This file does not have a program associated with it for performing this action. Please install a program or, if one is already installed, create an association in the Default Programs control...
Performance & Maintenance
Left click brings up right click context menu on desktop
For the last few weeks whenever I left click on the desktop it brings the right click menu. This dosen't happen in the browser (firefox), but only in the windows desktop and start menu. However i the browser if I am on a web player like youtube, the portion that displays the video fails to display...
General Discussion
Cannot choose single/double click in explorer->tools->folder options
After re-install of Win7 Ult my mouse acts as though single click is selected. When I go to Tools>Folder Options double click is selected and single click is grayed out. I'm hoping to find a registry hack to overcome this problem. I am open to any and all suggestions. I really do not like...
Hardware & Devices

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 22:48.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App