Jump to content

Registering File Extensions Unattended


SiMoNsAyS

Recommended Posts

  • 3 weeks later...

hi, my reg for XnView

[HKEY_CLASSES_ROOT\.bmp]
@="XnView.bmp"
"PerceivedType"="image"
"Content Type"="image/bmp"

[HKEY_CLASSES_ROOT\.emf]
"PerceivedType"="image"
@="XnView.Image"

[HKEY_CLASSES_ROOT\.gif]
"PerceivedType"="image"
@="XnView.gif"
"Content Type"="image/gif"

[HKEY_CLASSES_ROOT\.jpe]
"PerceivedType"="image"
@="XnView.Image"
"Content Type"="image/jpeg"

[HKEY_CLASSES_ROOT\.jpeg]
"PerceivedType"="image"
@="XnView.Image"
"Content Type"="image/jpeg"

[HKEY_CLASSES_ROOT\.jpg]
"PerceivedType"="image"
@="XnView.jpg"
"Content Type"="image/jpeg"

[HKEY_CLASSES_ROOT\.png]
"PerceivedType"="image"
@="XnView.png"
"Content Type"="image/png"

[HKEY_CLASSES_ROOT\.rle]
@="XnView.Image"

[HKEY_CLASSES_ROOT\.targa]
@="XnView.Image"

[HKEY_CLASSES_ROOT\.tga]
@="XnView.tga"

[HKEY_CLASSES_ROOT\.tif]
"Content Type"="image/tiff"
@="XnView.tif"

[HKEY_CLASSES_ROOT\.tiff]
"Content Type"="image/tiff"
"PerceivedType"="image"
@="XnView.Image"

[HKEY_CLASSES_ROOT\.wmf]
"PerceivedType"="image"
@="XnView.Image"

[HKEY_CLASSES_ROOT\XnView.bmp]
[HKEY_CLASSES_ROOT\XnView.bmp\DefaultIcon]
@="C:\\Program Files\\XnView\\xnview.exe,2"
[HKEY_CLASSES_ROOT\XnView.bmp\shell]
[HKEY_CLASSES_ROOT\XnView.bmp\shell\open]
[HKEY_CLASSES_ROOT\XnView.bmp\shell\open\command]
@="\"C:\\Program Files\\XnView\\xnview.exe\" \"%1\""

[HKEY_CLASSES_ROOT\XnView.gif]
[HKEY_CLASSES_ROOT\XnView.gif\DefaultIcon]
@="C:\\Program Files\\XnView\\xnview.exe,3"
[HKEY_CLASSES_ROOT\XnView.gif\shell]
[HKEY_CLASSES_ROOT\XnView.gif\shell\open]
[HKEY_CLASSES_ROOT\XnView.gif\shell\open\command]
@="\"C:\\Program Files\\XnView\\xnview.exe\" \"%1\""

[HKEY_CLASSES_ROOT\XnView.iff]
[HKEY_CLASSES_ROOT\XnView.iff\DefaultIcon]
@="C:\\Program Files\\XnView\\xnview.exe,4"
[HKEY_CLASSES_ROOT\XnView.iff\shell]
[HKEY_CLASSES_ROOT\XnView.iff\shell\open]
[HKEY_CLASSES_ROOT\XnView.iff\shell\open\command]
@="\"C:\\Program Files\\XnView\\xnview.exe\" \"%1\""

[HKEY_CLASSES_ROOT\XnView.Image]
@="XnView Image"
[HKEY_CLASSES_ROOT\XnView.Image\DefaultIcon]
@="C:\\Program Files\\XnView\\xnview.exe,1"
[HKEY_CLASSES_ROOT\XnView.Image\shell]
[HKEY_CLASSES_ROOT\XnView.Image\shell\open]
[HKEY_CLASSES_ROOT\XnView.Image\shell\open\command]
@="\"C:\\Program Files\\XnView\\xnview.exe\" \"%1\""

[HKEY_CLASSES_ROOT\XnView.jpg]
[HKEY_CLASSES_ROOT\XnView.jpg\DefaultIcon]
@="C:\\Program Files\\XnView\\xnview.exe,5"
[HKEY_CLASSES_ROOT\XnView.jpg\shell]
[HKEY_CLASSES_ROOT\XnView.jpg\shell\open]
[HKEY_CLASSES_ROOT\XnView.jpg\shell\open\command]
@="\"C:\\Program Files\\XnView\\xnview.exe\" \"%1\""

[HKEY_CLASSES_ROOT\XnView.pcx]
[HKEY_CLASSES_ROOT\XnView.pcx\DefaultIcon]
@="C:\\Program Files\\XnView\\xnview.exe,6"
[HKEY_CLASSES_ROOT\XnView.pcx\shell]
[HKEY_CLASSES_ROOT\XnView.pcx\shell\open]
[HKEY_CLASSES_ROOT\XnView.pcx\shell\open\command]
@="\"C:\\Program Files\\XnView\\xnview.exe\" \"%1\""

[HKEY_CLASSES_ROOT\XnView.pic]
[HKEY_CLASSES_ROOT\XnView.pic\DefaultIcon]
@="C:\\Program Files\\XnView\\xnview.exe,7"
[HKEY_CLASSES_ROOT\XnView.pic\shell]
[HKEY_CLASSES_ROOT\XnView.pic\shell\open]
[HKEY_CLASSES_ROOT\XnView.pic\shell\open\command]
@="\"C:\\Program Files\\XnView\\xnview.exe\" \"%1\""

[HKEY_CLASSES_ROOT\XnView.png]
[HKEY_CLASSES_ROOT\XnView.png\DefaultIcon]
@="C:\\Program Files\\XnView\\xnview.exe,8"
[HKEY_CLASSES_ROOT\XnView.png\shell]
[HKEY_CLASSES_ROOT\XnView.png\shell\open]
[HKEY_CLASSES_ROOT\XnView.png\shell\open\command]
@="\"C:\\Program Files\\XnView\\xnview.exe\" \"%1\""

[HKEY_CLASSES_ROOT\XnView.Slide]
@="XnView Slide"
[HKEY_CLASSES_ROOT\XnView.Slide\DefaultIcon]
@="C:\\Program Files\\XnView\\xnview.exe,0"
[HKEY_CLASSES_ROOT\XnView.Slide\shell]
[HKEY_CLASSES_ROOT\XnView.Slide\shell\open]
[HKEY_CLASSES_ROOT\XnView.Slide\shell\open\command]
@="\"C:\\Program Files\\XnView\\xnview.exe\" -slide \"%1\""

[HKEY_CLASSES_ROOT\XnView.tga]
[HKEY_CLASSES_ROOT\XnView.tga\DefaultIcon]
@="C:\\Program Files\\XnView\\xnview.exe,9"
[HKEY_CLASSES_ROOT\XnView.tga\shell]
[HKEY_CLASSES_ROOT\XnView.tga\shell\open]
[HKEY_CLASSES_ROOT\XnView.tga\shell\open\command]
@="\"C:\\Program Files\\XnView\\xnview.exe\" \"%1\""

[HKEY_CLASSES_ROOT\XnView.tif]
[HKEY_CLASSES_ROOT\XnView.tif\DefaultIcon]
@="C:\\Program Files\\XnView\\xnview.exe,10"
[HKEY_CLASSES_ROOT\XnView.tif\shell]
[HKEY_CLASSES_ROOT\XnView.tif\shell\open]
[HKEY_CLASSES_ROOT\XnView.tif\shell\open\command]
@="\"C:\\Program Files\\XnView\\xnview.exe\" \"%1\""

[HKEY_CLASSES_ROOT\Applications\xnview.exe]
[HKEY_CLASSES_ROOT\Applications\xnview.exe\shell]
[HKEY_CLASSES_ROOT\Applications\xnview.exe\shell\open]
[HKEY_CLASSES_ROOT\Applications\xnview.exe\shell\open\command]
@="\"C:\\Program Files\\XnView\\xnview.exe\" \"%1\""

:hello:

Link to comment
Share on other sites

  • 2 weeks later...

Register all supported formats with IZArc (v3.5)

@ECHO OFF
CMDOW @ /HID
SETLOCAL
SET SC=HKLM\SOFTWARE\Classes
SET Extn=.7z .a .ace .arc .arj .b64 .bh .bin .bz2 .bza .c2d .cab .cdi .cpio .deb .enc .gca .gz .gza .ha .img .iso .ize .jar .lha .lib .lzh .mbf .mdf .mim .nrg .pak .pdi .pk3 .rar .rpm .tar .taz .tbz .tgz .tz .uue .war .xxe .yz1 .z .zip .zoo
FOR %%s IN (%Extn%) DO (REG ADD %SC%\%%s /VE /D "IZArc" /F)
REG ADD %SC%\IZArc /VE /D "IZArc Archive" /F
REG ADD %SC%\IZArc\DefaultIcon /VE /D "\"%PROGRAMFILES%\IZArc\IZArc.exe\",0" /F
REG ADD %SC%\IZArc\Shell\Open\Command /VE /D "\"%PROGRAMFILES%\IZArc\IZArc.exe\" \"%%1\"" /F
ENDLOCAL
EXIT

Link to comment
Share on other sites

According to the First Post, this should be all you need to associate Winamp with Ogg:

REG ADD "HKLM\SOFTWARE\Classes\.ogg" /VE /D "Winamp.File" /F

But that's not necassary anymore, Alonoll's Winamp MSI is already associated with it... but NOT with FLAC!

So would this be all I need to associate Winamp with FLAC (I have the FLAC plugin):

REG ADD "HKLM\SOFTWARE\Classes\.flac" /VE /D "Winamp.File" /F

I can hardly believe it... just one line!?

Does anyone know a regtweak to associate Nero Express with Empty discs (Autoplay)?

Link to comment
Share on other sites

According to the First Post, this should be all you need to associate Winamp with Ogg:

REG ADD "HKLM\SOFTWARE\Classes\.ogg" /VE /D "Winamp.File" /F

But that's not necassary anymore, Alonoll's Winamp MSI is already associated with it... but NOT with FLAC!

but i don't use alanoll's winamp, i refered to the default winamp installation (/S)
So would this be all I need to associate Winamp with FLAC (I have the FLAC plugin):

REG ADD "HKLM\SOFTWARE\Classes\.flac" /VE /D "Winamp.File" /F

I can hardly believe it... just one line!?

yes! the rest of necessary keys are imported by the main winamp installation.

about nero, sorry i personally never need it :P

Link to comment
Share on other sites

Hello Men,

I have tried to change icons during unattended installation for .mp3, .avi, .mpeg, and only mp3 has changed.

here are the lines which i put in my registry tweaks:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AVIFile\DefaultIcon]
@="C:\\Archivos de programa\\Windows Media Player\\wmplayer.exe,0"
"MPlayer2.BAK"="mplay32.exe,3"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\mpegfile\DefaultIcon]
@="C:\\Archivos de programa\\Windows Media Player\\mplayer2.exe,0"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Winamp.File\DefaultIcon]
@="C:\\Archivos de programa\\Winamp\\Winamp.exe,0"

And only mp3 files have changed the icon.

Any Suggestions please?

Link to comment
Share on other sites

  • 1 month later...

EDIT WORK IN PROGRESS

EDIT Apparently I was so tired that I posted before testing...but feel free to use this as a starting point.

Here's a very comprehensive regfile for Notepad++

The file association manager in Notepad++ is VERY intrusive.

As you can see here I have added classes of files rather than just registering the extension...take a look

B)

Windows Registry Editor Version 5.00
;    Designed to register txt files with Notepad++

;~~~~~~~~~~~~~~~~~~Text Document~~~~~~~~~~~~~~~~~log, mak, nfo, txt,

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.diz]
@="txtfile"

; log is a txtfile

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.mak]
@="txtfile"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.mak\PersistentHandler]
@="{5e941d80-bf96-11cd-b579-08002b30bfeb}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.nfo]
@="txtfile"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.nfo\PersistentHandler]
@="{5e941d80-bf96-11cd-b579-08002b30bfeb}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\txtfile\shell\open\command]
@=hex(2):22,00,25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,\
 00,6c,00,65,00,73,00,25,00,5c,00,44,00,65,00,73,00,6b,00,74,00,6f,00,70,00,\
 20,00,50,00,75,00,62,00,6c,00,69,00,73,00,68,00,69,00,6e,00,67,00,5c,00,4e,\
 00,6f,00,74,00,65,00,70,00,61,00,64,00,2b,00,2b,00,5c,00,6e,00,6f,00,74,00,\
 65,00,70,00,61,00,64,00,2b,00,2b,00,2e,00,65,00,78,00,65,00,22,00,20,00,25,\
 00,31,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\txtfile\shell\print\command]
@=hex(2):22,00,25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,\
 00,6c,00,65,00,73,00,25,00,5c,00,44,00,65,00,73,00,6b,00,74,00,6f,00,70,00,\
 20,00,50,00,75,00,62,00,6c,00,69,00,73,00,68,00,69,00,6e,00,67,00,5c,00,4e,\
 00,6f,00,74,00,65,00,70,00,61,00,64,00,2b,00,2b,00,5c,00,6e,00,6f,00,74,00,\
 65,00,70,00,61,00,64,00,2b,00,2b,00,2e,00,65,00,78,00,65,00,22,00,20,00,2f,\
 00,70,00,20,00,25,00,31,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\txtfile\shell\printto\command]
@=hex(2):22,00,25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,\
 00,6c,00,65,00,73,00,25,00,5c,00,44,00,65,00,73,00,6b,00,74,00,6f,00,70,00,\
 20,00,50,00,75,00,62,00,6c,00,69,00,73,00,68,00,69,00,6e,00,67,00,5c,00,4e,\
 00,6f,00,74,00,65,00,70,00,61,00,64,00,2b,00,2b,00,5c,00,6e,00,6f,00,74,00,\
 65,00,70,00,61,00,64,00,2b,00,2b,00,2e,00,65,00,78,00,65,00,22,00,20,00,2f,\
 00,70,00,74,00,20,00,22,00,25,00,31,00,22,00,20,00,22,00,25,00,32,00,22,00,\
 20,00,22,00,25,00,33,00,22,00,20,00,22,00,25,00,34,00,22,00,00,00


;~~~~~~~~~~~~~~~~~~~Web / HTML~~~~~~~~~~~~~~~~~~ asp, css, htm, html, js, jse, jsp, php, phtml, shtml, xml,

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\aspfile\shell\edit\command]
@="\"%ProgramFiles%\\Desktop Publishing\\Notepad++\\notepad++.exe\" %1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CSSfile\shell\edit\command]
@="\"%ProgramFiles%\\Desktop Publishing\\Notepad++\\notepad++.exe\" %1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\htmlfile\shell\Edit\command]
@="\"%ProgramFiles%\\Desktop Publishing\\Notepad++\\notepad++.exe\" %1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\JSFile\Shell\Edit\Command]
@=hex(2):22,00,25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,\
 6c,00,65,00,73,00,25,00,5c,00,44,00,65,00,73,00,6b,00,74,00,6f,00,70,00,20,\
 00,50,00,75,00,62,00,6c,00,69,00,73,00,68,00,69,00,6e,00,67,00,5c,00,4e,00,\
 6f,00,74,00,65,00,70,00,61,00,64,00,2b,00,2b,00,5c,00,6e,00,6f,00,74,00,65,\
 00,70,00,61,00,64,00,2b,00,2b,00,2e,00,65,00,78,00,65,00,22,00,20,00,25,00,\
 31,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\JSFile\Shell\Print\Command]
@=hex(2):22,00,25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,\
 00,6c,00,65,00,73,00,25,00,5c,00,44,00,65,00,73,00,6b,00,74,00,6f,00,70,00,\
 20,00,50,00,75,00,62,00,6c,00,69,00,73,00,68,00,69,00,6e,00,67,00,5c,00,4e,\
 00,6f,00,74,00,65,00,70,00,61,00,64,00,2b,00,2b,00,5c,00,6e,00,6f,00,74,00,\
 65,00,70,00,61,00,64,00,2b,00,2b,00,2e,00,65,00,78,00,65,00,22,00,20,00,2f,\
 00,70,00,20,00,25,00,31,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\JSEFile\Shell\Edit\Command]
@=hex(2):22,00,25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,\
 6c,00,65,00,73,00,25,00,5c,00,44,00,65,00,73,00,6b,00,74,00,6f,00,70,00,20,\
 00,50,00,75,00,62,00,6c,00,69,00,73,00,68,00,69,00,6e,00,67,00,5c,00,4e,00,\
 6f,00,74,00,65,00,70,00,61,00,64,00,2b,00,2b,00,5c,00,6e,00,6f,00,74,00,65,\
 00,70,00,61,00,64,00,2b,00,2b,00,2e,00,65,00,78,00,65,00,22,00,20,00,25,00,\
 31,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\JSEFile\Shell\Print\Command]
@=hex(2):22,00,25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,\
 00,6c,00,65,00,73,00,25,00,5c,00,44,00,65,00,73,00,6b,00,74,00,6f,00,70,00,\
 20,00,50,00,75,00,62,00,6c,00,69,00,73,00,68,00,69,00,6e,00,67,00,5c,00,4e,\
 00,6f,00,74,00,65,00,70,00,61,00,64,00,2b,00,2b,00,5c,00,6e,00,6f,00,74,00,\
 65,00,70,00,61,00,64,00,2b,00,2b,00,2e,00,65,00,78,00,65,00,22,00,20,00,2f,\
 00,70,00,20,00,25,00,31,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.jsp]
@="jspfile"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\JSPFile]
@="Java Server Page"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\JSPFile\shell]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\JSPFile\shell\Edit]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\JSPFile\shell\Edit\command]
@=hex(2):22,00,25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,\
 6c,00,65,00,73,00,25,00,5c,00,44,00,65,00,73,00,6b,00,74,00,6f,00,70,00,20,\
 00,50,00,75,00,62,00,6c,00,69,00,73,00,68,00,69,00,6e,00,67,00,5c,00,4e,00,\
 6f,00,74,00,65,00,70,00,61,00,64,00,2b,00,2b,00,5c,00,6e,00,6f,00,74,00,65,\
 00,70,00,61,00,64,00,2b,00,2b,00,2e,00,65,00,78,00,65,00,22,00,20,00,25,00,\
 31,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.php]
@="phpfile"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PHPFile]
@="PHP Script"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PHPFile\shell]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PHPFile\shell\Edit]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PHPFile\shell\Edit\command]
@=hex(2):22,00,25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,\
 6c,00,65,00,73,00,25,00,5c,00,44,00,65,00,73,00,6b,00,74,00,6f,00,70,00,20,\
 00,50,00,75,00,62,00,6c,00,69,00,73,00,68,00,69,00,6e,00,67,00,5c,00,4e,00,\
 6f,00,74,00,65,00,70,00,61,00,64,00,2b,00,2b,00,5c,00,6e,00,6f,00,74,00,65,\
 00,70,00,61,00,64,00,2b,00,2b,00,2e,00,65,00,78,00,65,00,22,00,20,00,25,00,\
 31,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.phtml]
@="phtmlfile"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\phtmlfile]
@="Embedded Perl (ePerl) File "

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\phtmlfile\shell]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\phtmlfile\shell\Edit]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\phtmlfile\shell\Edit\command]
@=hex(2):22,00,25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,\
 6c,00,65,00,73,00,25,00,5c,00,44,00,65,00,73,00,6b,00,74,00,6f,00,70,00,20,\
 00,50,00,75,00,62,00,6c,00,69,00,73,00,68,00,69,00,6e,00,67,00,5c,00,4e,00,\
 6f,00,74,00,65,00,70,00,61,00,64,00,2b,00,2b,00,5c,00,6e,00,6f,00,74,00,65,\
 00,70,00,61,00,64,00,2b,00,2b,00,2e,00,65,00,78,00,65,00,22,00,20,00,25,00,\
 31,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\xmlfile\shell\EditWithNP++]
@="&Edit with Notepad++"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\xmlfile\shell\EditWithNP++\command]
@="\"%ProgramFiles%\\Desktop Publishing\\Notepad++\\notepad++.exe\" %1"


;~~~~~~~~~~~~~~~~~~~Public Script~~~~~~~~~~~~~~~~~~bsh, lau, nsh, nsi, pl, pm, py, sh,

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.bsh]
@="Public.Script"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.lau]
@="Public.Script"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.nsh]
@="Public.Script"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.nsi]
@="Public.Script"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.pl]
@="Public.Script"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.pm]
@="Public.Script"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.py]
@="Public.Script"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.sh]
@="Public.Script"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Public.Script]
@="Public Script"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Public.Script\shell]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Public.Script\shell\Edit]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Public.Script\shell\Edit\command]
@="\"%ProgramFiles%\\Desktop Publishing\\Notepad++\\notepad++.exe\" %1"

;~~~~~~~~~~~~~~~~~~Property Script~~~~~~~~~~~~~~~~~as, bat, cmd, mx, nt, rc, vb, vbs, edit open

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.as]
@="Property.Script"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\batfile\shell\Edit\command]
@=hex(2):22,00,25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,\
 6c,00,65,00,73,00,25,00,5c,00,44,00,65,00,73,00,6b,00,74,00,6f,00,70,00,20,\
 00,50,00,75,00,62,00,6c,00,69,00,73,00,68,00,69,00,6e,00,67,00,5c,00,4e,00,\
 6f,00,74,00,65,00,70,00,61,00,64,00,2b,00,2b,00,5c,00,6e,00,6f,00,74,00,65,\
 00,70,00,61,00,64,00,2b,00,2b,00,2e,00,65,00,78,00,65,00,22,00,20,00,25,00,\
 31,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\cmdfile\shell\Edit\command]
@=hex(2):22,00,25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,\
 6c,00,65,00,73,00,25,00,5c,00,44,00,65,00,73,00,6b,00,74,00,6f,00,70,00,20,\
 00,50,00,75,00,62,00,6c,00,69,00,73,00,68,00,69,00,6e,00,67,00,5c,00,4e,00,\
 6f,00,74,00,65,00,70,00,61,00,64,00,2b,00,2b,00,5c,00,6e,00,6f,00,74,00,65,\
 00,70,00,61,00,64,00,2b,00,2b,00,2e,00,65,00,78,00,65,00,22,00,20,00,25,00,\
 31,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\cmdfile\shell\Print\command]
@=hex(2):22,00,25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,\
 6c,00,65,00,73,00,25,00,5c,00,44,00,65,00,73,00,6b,00,74,00,6f,00,70,00,20,\
 00,50,00,75,00,62,00,6c,00,69,00,73,00,68,00,69,00,6e,00,67,00,5c,00,4e,00,\
 6f,00,74,00,65,00,70,00,61,00,64,00,2b,00,2b,00,5c,00,6e,00,6f,00,74,00,65,\
 00,70,00,61,00,64,00,2b,00,2b,00,2e,00,65,00,78,00,65,00,22,00,20,00,25,00,\
 31,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Property.Script]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Property.Script\shell]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Property.Script\shell\Edit]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Property.Script\shell\Edit\command]
@=hex(2):22,00,25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,\
 6c,00,65,00,73,00,25,00,5c,00,44,00,65,00,73,00,6b,00,74,00,6f,00,70,00,20,\
 00,50,00,75,00,62,00,6c,00,69,00,73,00,68,00,69,00,6e,00,67,00,5c,00,4e,00,\
 6f,00,74,00,65,00,70,00,61,00,64,00,2b,00,2b,00,5c,00,6e,00,6f,00,74,00,65,\
 00,70,00,61,00,64,00,2b,00,2b,00,2e,00,65,00,78,00,65,00,22,00,20,00,25,00,\
 31,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.mx]
@="Property.Script"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.nt]
@="Property.Script"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.rc]
@="Property.Script"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.vb]
@="vbsfile"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\vbsfile\shell\Edit\command]
@=hex(2):22,00,25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,\
 6c,00,65,00,73,00,25,00,5c,00,44,00,65,00,73,00,6b,00,74,00,6f,00,70,00,20,\
 00,50,00,75,00,62,00,6c,00,69,00,73,00,68,00,69,00,6e,00,67,00,5c,00,4e,00,\
 6f,00,74,00,65,00,70,00,61,00,64,00,2b,00,2b,00,5c,00,6e,00,6f,00,74,00,65,\
 00,70,00,61,00,64,00,2b,00,2b,00,2e,00,65,00,78,00,65,00,22,00,20,00,25,00,\
 31,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\vbsfile\shell\Print\command]
@=hex(2):22,00,25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,\
 6c,00,65,00,73,00,25,00,5c,00,44,00,65,00,73,00,6b,00,74,00,6f,00,70,00,20,\
 00,50,00,75,00,62,00,6c,00,69,00,73,00,68,00,69,00,6e,00,67,00,5c,00,4e,00,\
 6f,00,74,00,65,00,70,00,61,00,64,00,2b,00,2b,00,5c,00,6e,00,6f,00,74,00,65,\
 00,70,00,61,00,64,00,2b,00,2b,00,2e,00,65,00,78,00,65,00,22,00,20,00,25,00,\
 31,00,00,00

;~~~~~~~~~~~~~~~~~Property Settings~~~~~~~~~~~~~~~~~inffile, inifile

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\inffile\shell\open\command]
@=hex(2):22,00,25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,\
 00,6c,00,65,00,73,00,25,00,5c,00,44,00,65,00,73,00,6b,00,74,00,6f,00,70,00,\
 20,00,50,00,75,00,62,00,6c,00,69,00,73,00,68,00,69,00,6e,00,67,00,5c,00,4e,\
 00,6f,00,74,00,65,00,70,00,61,00,64,00,2b,00,2b,00,5c,00,6e,00,6f,00,74,00,\
 65,00,70,00,61,00,64,00,2b,00,2b,00,2e,00,65,00,78,00,65,00,22,00,20,00,25,\
 00,31,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\inffile\shell\print\command]
@=hex(2):22,00,25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,\
 00,6c,00,65,00,73,00,25,00,5c,00,44,00,65,00,73,00,6b,00,74,00,6f,00,70,00,\
 20,00,50,00,75,00,62,00,6c,00,69,00,73,00,68,00,69,00,6e,00,67,00,5c,00,4e,\
 00,6f,00,74,00,65,00,70,00,61,00,64,00,2b,00,2b,00,5c,00,6e,00,6f,00,74,00,\
 65,00,70,00,61,00,64,00,2b,00,2b,00,2e,00,65,00,78,00,65,00,22,00,20,00,2f,\
 00,70,00,20,00,25,00,31,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\inifile\shell\open\command]
@=hex(2):22,00,25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,\
 00,6c,00,65,00,73,00,25,00,5c,00,44,00,65,00,73,00,6b,00,74,00,6f,00,70,00,\
 20,00,50,00,75,00,62,00,6c,00,69,00,73,00,68,00,69,00,6e,00,67,00,5c,00,4e,\
 00,6f,00,74,00,65,00,70,00,61,00,64,00,2b,00,2b,00,5c,00,6e,00,6f,00,74,00,\
 65,00,70,00,61,00,64,00,2b,00,2b,00,2e,00,65,00,78,00,65,00,22,00,20,00,25,\
 00,31,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\inifile\shell\print\command]
@=hex(2):22,00,25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,\
 00,6c,00,65,00,73,00,25,00,5c,00,44,00,65,00,73,00,6b,00,74,00,6f,00,70,00,\
 20,00,50,00,75,00,62,00,6c,00,69,00,73,00,68,00,69,00,6e,00,67,00,5c,00,4e,\
 00,6f,00,74,00,65,00,70,00,61,00,64,00,2b,00,2b,00,5c,00,6e,00,6f,00,74,00,\
 65,00,70,00,61,00,64,00,2b,00,2b,00,2e,00,65,00,78,00,65,00,22,00,20,00,2f,\
 00,70,00,20,00,25,00,31,00,00,00


;~~~~~~~~~~~~~~~~~Programming Code~~~~~~~~~~~~~~~~

; C C++ or OBJC Programming Code File
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\SrcCode]
@="Programming Source Code"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\SrcCode\DefaultIcon]
@=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,73,00,68,\
 00,73,00,63,00,72,00,61,00,70,00,2e,00,64,00,6c,00,6c,00,2c,00,31,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\SrcCode\shell]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\SrcCode\shell\Open]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\SrcCode\shell\Open\command]
@=hex(2):22,00,25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,\
 6c,00,65,00,73,00,25,00,5c,00,44,00,65,00,73,00,6b,00,74,00,6f,00,70,00,20,\
 00,50,00,75,00,62,00,6c,00,69,00,73,00,68,00,69,00,6e,00,67,00,5c,00,4e,00,\
 6f,00,74,00,65,00,70,00,61,00,64,00,2b,00,2b,00,5c,00,6e,00,6f,00,74,00,65,\
 00,70,00,61,00,64,00,2b,00,2b,00,2e,00,65,00,78,00,65,00,22,00,20,00,25,00,\
 31,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.c]
@="SrcCode"
"PerceivedType"="text"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.cc]
@="SrcCode"
"PerceivedType"="text"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.cpp]
@="SrcCode"
"PerceivedType"="text"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.cs]
@="SrcCode"
"PerceivedType"="text"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.cxx]
@="SrcCode"
"PerceivedType"="text"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.f]
@="SrcCode"
"PerceivedType"="text"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.f2k]
@="SrcCode"
"PerceivedType"="text"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.f90]
@="SrcCode"
"PerceivedType"="text"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.f95]
@="SrcCode"
"PerceivedType"="text"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.for]
@="SrcCode"
"PerceivedType"="text"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.h]
@="SrcCode"
"PerceivedType"="text"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.hpp]
@="SrcCode"
"PerceivedType"="text"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.hxx]
@="SrcCode"
"PerceivedType"="text"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.inc]
@="SrcCode"
"PerceivedType"="text"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.java]
@="SrcCode"
"PerceivedType"="text"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.m]
@="SrcCode"
"PerceivedType"="text"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.pas]
@="SrcCode"
"PerceivedType"="text"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.sql]
@="SrcCode"
"PerceivedType"="text"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.tex]
@="SrcCode"
"PerceivedType"="text"

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...