Group: Registered
Posts: 681
Joined: 23-October 04
From: New Zealand
Member No.: 77,438
QUOTE(Herby @ Mar 7 2005, 19:29)
Change the Icon to another Mod? I do'nt know what you mean, but you can change the Icon with Shell Object Editor. Atm I'm bizzy with the Tutorial, but I'll get on it asap. [right][snapback]585580217[/snapback][/right]
I dont actually use eMule, I use "Neo-Mule" which is a "modded" version of the original eMule, The thing is that the directory path is different on my machine, from what the reg file you created is.. What lines am I meant to edit in your reg file to point to another location??
Tutorial??...For this project??... Looking forward to it...
Group: Registered
Posts: 2,133
Joined: 19-December 02
From: The Netherlands
Member No.: 20,663
QUOTE(Harsh! @ Mar 7 2005, 08:53)
I dont actually use eMule, I use "Neo-Mule" which is a "modded" version of the original eMule, The thing is that the directory path is different on my machine, from what the reg file you created is.. What lines am I meant to edit in your reg file to point to another location??
Tutorial??...For this project??... Looking forward to it... [right][snapback]585580497[/snapback][/right]
You can edit them with regedit,.. Open regedit and search for {00000000-5210-0000-0000-000000000002}. You can edit the paths there, or PM me the path and I'll do it for ya. The Tutorial is almost done.
Group: Registered
Posts: 2,133
Joined: 19-December 02
From: The Netherlands
Member No.: 20,663
How to create your own nameless Desktop Icons with Enhanced Context Menus.
The easiest way is editing an existing one.
In this Tutorial I'm going to edit "Add Neowin.reg".
When you edit the reg file you should see something like this:
CODE
Windows Registry Editor Version 5.00
;Neowin Without Text by Herby [HKEY_CLASSES_ROOT\CLSID\{00000000-5140-0000-0000-000000000002}] "InfoTip"="Neowin.net - Where unprofessional journalism looks better." "NeverShowExt"="" @=""
This is the CLSID address. You must change this address everytime you create a new one. In this example we are going to change it to {00000000-5240-0000-0000-000000000002}.
"InfoTip"="Neowin.net - Where unprofessional journalism looks better."
The system displays this InfoTip when the mouse hovers over the Icon. You can change the value to anything you want.
"NeverShowExt"=""
This part makes sure that the (CLSID) extension is invisible (in Windows Explorer).
@=""
This is why the Icon has no name. If you want to give it a name change the value "" to "AnyNameYouWant".
This part specifies the name off the first (00) and Default command (the command that is executed when you click on the Icon). The letter behind the & is the underlined letter for Keyboard navigation.
This is the Command that is gonna be executed. It's an Expandable String Value: According to the Microsoft DevStudio's Network (MSDN), an expandable string registry value is a null-terminated string that contains unexpanded references to environment variables (for example, “%UserProfile%”). When you edit this line with Regedit you'll see; "%WinDir%\System32\Rundll32.exe Url,FileProtocolHandler http://www.neowin.net" (opens Neowin.net in your default browser). I used an Expandable String Value because of path/location differences in different language versions of Windows. For example %ProgramFiles% opens the Program Files directory in every language version of Windows, even when you installed Windows on your D: drive. You can also use a String Value which is easier to edit: [HKEY_CLASSES_ROOT\CLSID\{00000000-5140-0000-0000-000000000002}\Shell\00\Command] @="C:\\Windows\\System32\\Rundll32.exe Url,FileProtocolHandler http://www.neowin.net" The command needs to run via an exe file; for example when you want to open a folder you must open it with explorer: @="Explorer.exe C:\\Windows\\System32\\DllCache" or an txt file: @="Rundll32.exe Url,FileProtocolHandler C:\\Windows\\system32\\eula.txt" opens eula.txt with your default text editor.
This key adds the Icon to the Desktop. You can also add the Icon to My Computer: [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{00000000-5140-0000-0000-000000000002}] to the Control Panel: [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{00000000-5140-0000-0000-000000000002}] & to My Network Places: [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\NetworkNeighborhood\NameSpace\{00000000-5140-0000-0000-000000000002}]
Editing the reg file:
Start with changing the CLSID address: {00000000-5140-0000-0000-000000000002} to {00000000-5240-0000-0000-000000000002} You have to change all the lines (also the one that adds the icon to the Desktop).
Edit the InfoTip: "Neowin.net - Where unprofessional journalism looks better." to "Any InfoTip you want"
Change the Icon: @="%WinDir%\\Icons\\Neowin.ico" to for example @="C:\\Program Files\\Windows Media Player\\wmplayer.exe,0" which changes the Icon to the first (Default) Icon of Windows Media Player or to @="%SystemRoot%\\System32\\Shell32.dll,15" which changes the Icon to the "My Computer" Icon.
Edit the names of the commands: [HKEY_CLASSES_ROOT\CLSID\{00000000-5240-0000-0000-000000000002}\Shell\00] @="&Neowin.net" This is the first and Default command name. Change @="&Neowin.net" to the command name you want: @="&Open Temp Dir"
[HKEY_CLASSES_ROOT\CLSID\{00000000-5140-0000-0000-000000000002}\Shell\01] @="• Log &In" This is the second command name, change it to for example @="&Device Manager"
Delete unnesasery commands: In this example we only need 2 commands so you can delete the rest: [HKEY_CLASSES_ROOT\CLSID\{00000000-5140-0000-0000-000000000002}\Shell\02] until [HKEY_CLASSES_ROOT\CLSID\{00000000-5140-0000-0000-000000000002}\ShellFolder]
Save the reg file as "Add Example.reg".
Now you should see something like this:
CODE
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\CLSID\{00000000-5240-0000-0000-000000000002}] "InfoTip"="Any InfoTip you want" "NeverShowExt"="" @=""
[HKEY_CLASSES_ROOT\CLSID\{00000000-5240-0000-0000-000000000002}\DefaultIcon] @="C:\\Program Files\\Windows Media Player\\wmplayer.exe,0"
Edit the commands: There are 2 ways to edit these commands:
1) Edit the reg file and change the command to a String Value: Change [HKEY_CLASSES_ROOT\CLSID\{00000000-5240-0000-0000-000000000002}\Shell\00\Command] @=hex(2):25,00,57,00,69,00,6e,00,44,00,69,00,72,00,25,00,5c,00,53,00,79,00,73,\ 00,74,00,65,00,6d,00,33,00,32,00,5c,00,52,00,75,00,6e,00,64,00,6c,00,6c,00,\ 33,00,32,00,2e,00,65,00,78,00,65,00,20,00,55,00,72,00,6c,00,2c,00,46,00,69,\ 00,6c,00,65,00,50,00,72,00,6f,00,74,00,6f,00,63,00,6f,00,6c,00,48,00,61,00,\ 6e,00,64,00,6c,00,65,00,72,00,20,00,68,00,74,00,74,00,70,00,3a,00,2f,00,2f,\ 00,77,00,77,00,77,00,2e,00,6e,00,65,00,6f,00,77,00,69,00,6e,00,2e,00,6e,00,\ 65,00,74,00,2f,00,00,00 to [HKEY_CLASSES_ROOT\CLSID\{00000000-5240-0000-0000-000000000002}\Shell\00\Command] @="C:\\Windows\\Explorer.exe C:\\Windows\\Temp" and [HKEY_CLASSES_ROOT\CLSID\{00000000-5240-0000-0000-000000000002}\Shell\01\Command] @=hex(2):25,00,57,00,69,00,6e,00,44,00,69,00,72,00,25,00,5c,00,53,00,79,00,73,\ 00,74,00,65,00,6d,00,33,00,32,00,5c,00,52,00,75,00,6e,00,64,00,6c,00,6c,00,\ 33,00,32,00,2e,00,65,00,78,00,65,00,20,00,55,00,72,00,6c,00,2c,00,46,00,69,\ 00,6c,00,65,00,50,00,72,00,6f,00,74,00,6f,00,63,00,6f,00,6c,00,48,00,61,00,\ 6e,00,64,00,6c,00,65,00,72,00,20,00,68,00,74,00,74,00,70,00,3a,00,2f,00,2f,\ 00,77,00,77,00,77,00,2e,00,6e,00,65,00,6f,00,77,00,69,00,6e,00,2e,00,6e,00,\ 65,00,74,00,2f,00,66,00,6f,00,72,00,75,00,6d,00,2f,00,69,00,6e,00,64,00,65,\ 00,78,00,2e,00,70,00,68,00,70,00,3f,00,61,00,63,00,74,00,3d,00,4c,00,6f,00,\ 67,00,69,00,6e,00,26,00,43,00,4f,00,44,00,45,00,3d,00,30,00,30,00,00,00 to [HKEY_CLASSES_ROOT\CLSID\{00000000-5240-0000-0000-000000000002}\Shell\01\Command] @="C:\\Windows\\System32\\mmc.exe /s /a C:\\Windows\\System32\\devmgmt.msc"
Save the reg file.
2) Edit the commands in the Registry: Import "Add Example.reg". Open Regedit (Start -> Run... -> Regedit) and search (Edit -> Find) for the CLSID {00000000-5240-0000-0000-000000000002}. Expand {00000000-5240-0000-0000-000000000002}, expand Shell, expand 00 and select Command. In the right pane you should see: (Default) | REG_EXPAND_SZ | %WinDir%\System32\Rundll32.exe Url,FileProtocolHandler http://www.neowin.net/ Double click on (Default) and change the value data to Explorer.exe %Temp% Expand 01 and select Command. Double click on (Default) on the right pane and change the value to mmc.exe /s /a %WinDir%/System32/devmgmt.msc Now right click on the CLSID {00000000-5240-0000-0000-000000000002}, select Export and save the file as Temp.reg. Edit temp.reg, copy everything and paste it into "Add Example.reg" and overwrite everything exept the last line (the one that adds the Icon to the Desktop).
Save the reg file.
Editing the Remove reg file:
Edit "Remove Neowin.reg" and change 5140 from both the CLSID's to 5240. You should see this:
Group: Registered
Posts: 2,133
Joined: 19-December 02
From: The Netherlands
Member No.: 20,663
I finally found a way to open "Entire Network" directly! I've added it to "My Network Places" & created a new Icon: "My Entire Network", it has the same CLSID & functions as "My Network Places" but it opens "Entire Network" on left click.
The first post is updated with the new and edited Icons and I've added a link to the Tutorial (the Changelog is included in the zip file).
Group: Registered
Posts: 3
Joined: 11-April 03
Member No.: 25,939
Great mod, thanks for all your hard work on this.
I do have a problem with the Office 2003 icons. The first time I selected Excel from the desktop icon I was prompted to find "C:\Program.exe" (or something similar). I assumed it was looking for Excel.exe so I navigated to the Office directory and entered that in the pop-up. Now whenever I select Word, Visio, PowerPoint etc. from the icon it tries to launch it with Excel instead.
How do I undo this, and make the Office 2003 apps launch correctly?
Group: Registered
Posts: 681
Joined: 23-October 04
From: New Zealand
Member No.: 77,438
@ Herby.... Found a neat way to grab command lines from programs already installed on your system.. Just open up the desired program.... Then hit F1(Help) then type "Command Line" into the "Index" or "Search" of your programs helpfile... Easy as!!
Group: Registered
Posts: 2,133
Joined: 19-December 02
From: The Netherlands
Member No.: 20,663
QUOTE(skase @ Mar 10 2005, 02:16)
I've got this problem. When you right click on desktop and lock items, all desktop icons become shaded with text fields become shaded right.
Well, they aren't locked but they are shaded (attachment screenshot).
How do i remove the shaded space under each icon. (i used shell object editor to creat all icons)
It happened after i was playing around with tuneup 2004 I think [right][snapback]585594128[/snapback][/right]
Sorry for the late reply,.. bizzy, bizzy, bizzy,...
System Properties -> Advanced Tab -> Performance -> Settings -> Visual Effects Tab -> Check: Use Drop Shadows for Icon labels on the Desktop.
If you want them without the text selection: Rename them to an uncommon name like Wuppy01, Wuppy02,... search for the names in the Registry and delete the names.
QUOTE(rivethead @ Mar 10 2005, 13:39)
Great mod, thanks for all your hard work on this.
I do have a problem with the Office 2003 icons. The first time I selected Excel from the desktop icon I was prompted to find "C:\Program.exe" (or something similar). I assumed it was looking for Excel.exe so I navigated to the Office directory and entered that in the pop-up. Now whenever I select Word, Visio, PowerPoint etc. from the icon it tries to launch it with Excel instead.
How do I undo this, and make the Office 2003 apps launch correctly?
Never had or heard of this problem before... What Language version of Windows do you have installed? What is the path to your office directory? Try to import the remove reg file and then import the add reg file again.
QUOTE(Harsh! @ Mar 10 2005, 15:39)
@ Herby.... Found a neat way to grab command lines from programs already installed on your system.. Just open up the desired program.... Then hit F1(Help) then type "Command Line" into the "Index" or "Search" of your programs helpfile... Easy as!!
Ive got a list of CommandLines for you too!!! [right][snapback]585596262[/snapback][/right]
Yep,.. I use this method most of the time, but I don't want to install every program. Can you PM me the command lines?
Group: Registered
Posts: 3
Joined: 11-April 03
Member No.: 25,939
Heby said ...
Never had or heard of this problem before... huh.gif What Language version of Windows do you have installed? What is the path to your office directory? Try to import the remove reg file and then import the add reg file again. >>>>>>
Windows XP SP1 US English C:\Program Files\Microsoft Office XP\Office10 is the path to excel.exe, winword.exe etc.
I've run and re-run the remove registry/import numerous times, rebooted etc. Still the same.
It only affectrs the Microsoft items, merging the other apps works great. Almost seems like a file association problem. It tries to use Excel to launch the MS Office items.
Group: Registered
Posts: 3
Joined: 11-April 03
Member No.: 25,939
Your questions prompted me to look at the problem a little harder and I thnk I have it solved. I have Office XP so the path to the .exe is different than Office 2003.
For example, the PowerPoint in the Office 2003 reg import creates -
Ive got a few Ive been messing around with, (thanks to your guide)but I cant seem to get all the functions to work
I'll send you a PM with all the command lines Ive found so far, by trawling through the net... What a mission it was too...Ive emailed dozens of popular software companies, to try and get command lines from, that are'nt listed in there "help" file(chm).. Lots of them are replying as well... Ended up pretty much devoting a spare machine on my network(Home Network) to installing various software just so I can get the command lines from the help files...lol
Tried my hardest to get some for Webroots Software(SpySweeper, Window-Washer), but no luck, the creators sent me a email saying theres currently none except for a "silent scan" for SpySweeper"...
But Ive got a few others... Ill just PM you there contents entirely and you can dissect the valid commands etc from them... Thanks again Herby!!
PS: Any news on the VideoLAN icon yet mate??
This post has been edited by Harsh!: Mar 12 2005, 02:09
Group: Registered
Posts: 2,133
Joined: 19-December 02
From: The Netherlands
Member No.: 20,663
This thread is now on the front page of VirtualPlastic.net, one of my favorite tweak & mod sites.
I've updated the "Clear Temp" command from the Recycle Bin context menu; it deletes now every folder and file that is not in use from the Temp folders. For the people who want to know the command:
CODE
cmd.exe /c cd "%WinDir%\Temp\" && del *.* /f /q && (for /d %a in (*) do rd "%a" /q /s) && cd "%UserProfile%\Local Settings\Temp\" && del *.* /f /q && (for /d %a in (*) do rd "%a" /q /s)
QUOTE(rivethead @ Mar 11 2005, 18:59)
Your questions prompted me to look at the problem a little harder and I thnk I have it solved. I have Office XP so the path to the .exe is different than Office 2003.
For example, the PowerPoint in the Office 2003 reg import creates -
Ive got a few Ive been messing around with, (thanks to your guide)but I cant seem to get all the functions to work
I'll send you a PM with all the command lines Ive found so far, by trawling through the net... What a mission it was too...Ive emailed dozens of popular software companies, to try and get command lines from, that are'nt listed in there "help" file(chm).. Lots of them are replying as well... Ended up pretty much devoting a spare machine on my network(Home Network) to installing various software just so I can get the command lines from the help files...lol
Tried my hardest to get some for Webroots Software(SpySweeper, Window-Washer), but no luck, the creators sent me a email saying theres currently none except for a "silent scan" for SpySweeper"...
But Ive got a few others... Ill just PM you there contents entirely and you can dissect the valid commands etc from them... Thanks again Herby!!
PS: Any news on the VideoLAN icon yet mate?? [right][snapback]585604254[/snapback][/right]
If you have any questions about editing the reg files or the registry, PM me or post it here so others can learn from it. I'm looking forward to the commands, thanks! About VideoLAN: I'm pretty bizzy this & next week, but i'll get on it asap.
Group: Registered
Posts: 15
Joined: 4-November 04
Member No.: 79,330
Well, you never actually 'delete' a my computer icon, but if you go into display properties, under the desktop tab there's a 'customize desktop...' button. In there you can uncheck showing the different standard windows icons. That way you can get them back if you need to