
;_____________________________________________________________
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...!"
;_____________________________________________________________