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 for2: Ordering the elements when Right-Click on the Desktop and choose New
Thread Forum
Ordering A New Desktop PC Questions, Please. (from a Sr. citizen) General Discussion
Solved Choose default program button (in Right-Click) not working!? Performance & Maintenance
Left click brings up right click context menu on desktop General Discussion
Cannot choose single/double click in explorer->tools->folder options Hardware & Devices
do you know of any links where i can choose a desktop for windows 7? Customization
Solved IE8 Fav ordering Browsers & Mail

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 09:24 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App