TIP: Microsoft-style shortcut to TC.

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Reva
Junior Member
Junior Member
Posts: 29
Joined: 2003-02-12, 12:38 UTC

TIP: Microsoft-style shortcut to TC.

Post by *Reva »

To make a shortcut similar to IE or Outlook (No Arrow and with a custom Message for deletion) for total commander on the windows desktop, Just copy the following text content (change the paths, if required) into a file and save the file as TC.reg and then merge this registry file and hit F5 on the desktop. :D

;_____________________________________________________________
REGEDIT4
; Regedit script to add Microsoft-style shortcut to the desktop

; Create a GUID and give the shortcut a name
[HKEY_CLASSES_ROOT\CLSID\{A5B72D0E-CBAA-4959-AEE7-365F2C202374}]
@="Total Commander"

; Tell the shell where to get the icon
; Best to use short-form path, with no embedded spaces
[HKEY_CLASSES_ROOT\CLSID\{A5B72D0E-CBAA-4959-AEE7-365F2C202374}\DefaultIcon]
@="C:\\Program Files\\wincmd\\TOTALCMD.EXE,0"

; Tell the shell how to execute the command
; Best to use short-form path, with no embedded spaces
[HKEY_CLASSES_ROOT\CLSID\{A5B72D0E-CBAA-4959-AEE7-365F2C202374}\Shell\Open\Command]
@="C:\\Program Files\\wincmd\\TOTALCMD.EXE"

; Set flags defined for IShellFolder::GetAttributesOf
; Flags are documented as DWORDs and represented here as BYTE[4]
; Remove some or all of these flags to make the shortcut hard to change
; 20,00,00,00 - SFGAO_CANDELETE
; 10,00,00,00 - SFGAO_CANRENAME
; 02,00,00,00 - SFGAO_CANMOVE
[HKEY_CLASSES_ROOT\CLSID\{A5B72D0E-CBAA-4959-AEE7-365F2C202374}\ShellFolder]
"Attributes"=hex:32,00,00,00

; Register the command as a pseudo namespace extension under the desktop
; Customize the removel message
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{A5B72D0

E-CBAA-4959-AEE7-365F2C202374}]
@="Total Commander"
"Removal Message"="Look twice before you leap...!"
;_____________________________________________________________
User avatar
pdavit
Power Member
Power Member
Posts: 1529
Joined: 2003-02-05, 21:41 UTC
Location: Kavala -> Greece -> Europe -> Earth -> Solar System -> Milky Way -> Space
Contact:

Post by *pdavit »

That’s quite clever, thanks! I personally though have a shortcut for TC on the Quick Launch toolbar at the bottom and nothing on the desktop (that is related to TC) because the desktop is not always fast accessible! ;)
"My only reason for still using M$ Window$ as an OS is the existence of Total Commander!"
Christian Ghisler Rules!!!
Reva
Junior Member
Junior Member
Posts: 29
Joined: 2003-02-12, 12:38 UTC

Post by *Reva »

I believe Active Desktop will slow down the system so I don't like to have the quick launch ON.

A better solution for me to make the following entries (Careful about the paths) in the registry so that I can just do Win+R and type "WC" and hit enter which would launch WinCmd for me.

;_______________________________________________REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\wc.exe]
@="C:\\Program Files\\wincmd\\TOTALCMD.EXE"
"path"="C:\\Program Files\\wincmd\\"
;_______________________________________________
User avatar
fabiochelly
Power Member
Power Member
Posts: 603
Joined: 2003-02-05, 12:03 UTC
Location: Rambouillet, France

Post by *fabiochelly »

Thanks, it's a great info
Fabio Chelly.
#60241
Lorsqu'on s'occupe d'informatique il faut faire comme les canards...
Paraître calme en surface et pédaler comme un forcené par en dessous
User avatar
Black Dog
Power Member
Power Member
Posts: 1024
Joined: 2003-02-05, 22:17 UTC
Location: Odessa
Contact:

Post by *Black Dog »

[face=courier]On 12-02-2003 17:29:31 +0000 Reva wrote:

R> I can just do Win+R and type "WC" and hit enter
R> which would launch WinCmd for me


Give a try to Winconsole, something tells me you should like it ;).[/face]
User avatar
lzvk25
Member
Member
Posts: 183
Joined: 2003-02-09, 04:28 UTC
Location: Collierville, TN

Post by *lzvk25 »

Another alternative is WinKey
http://www.copernic.com/winkey/
With this you can configure your system to launch any application using the "Windows" key. :D
User avatar
lzvk25
Member
Member
Posts: 183
Joined: 2003-02-09, 04:28 UTC
Location: Collierville, TN

Post by *lzvk25 »

Although if you would like to get rid of all the arrows in the link files, first try Microsoft PowerToys, in particular "TweakUI". But it may not work if you have installed the latest security patches. The problem is with the newest version of Shell32.dll.
So, for a machine with Windows 98 SE you can do the following :
Go to Start > Run > Regedit

Drill down to
HKEY_CLASSES_ROOT\CLSID\{63B51F81-C868-11D0-999C-00C04FD655E1}\InProcServer32

The default value for InProcserver32 in the Right hand window is C:\WINDOWS\SYSTEM\SHELL32.DLL

Rightclick this value, and choose 'rename'.

Delete 'C:\Windows\System\Shell32.dll' so that the edit box is empty.

Click 'OK' and Reboot.

Unfortunately I do not know if this works with other versions of Windows.
Post Reply