Changes

Jump to: navigation, search

7-Zip

630 bytes added, 09:49, 7 September 2010
MSI Installer package.xml, sets 7-zip as default archive application
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\7-Zip.zip\shell\open\command]
@="\"C:\\Program Files\\7-Zip\\7zFM.exe\" \"%1\""
</pre>
 
as alternative, you can use this batch-script:
<pre>
@echo off
 
SET SC=HKLM\Software\Classes
SET Extn=7z-0 arj-4 bz2-2 bzip2-2 cab-7 cpio-7 deb-11 gz-14 gzip-14 iso-8 lha-6 lzh-6 rar-3 rpm-10 split-9 swm-15 tar-13 taz-5 tbz-2 tbz2-2 tgz-14 tpz-14 wim-15 z-5 zip-1
 
FOR %%j IN (%Extn%) DO (
FOR /F "tokens=1,2 delims=-" %%A IN ("%%j") DO (
REG ADD %SC%\.%%A /VE /D "7-Zip.%%A" /F
REG ADD %SC%\7-Zip.%%A /VE /D "%%A Archive" /F
REG ADD %SC%\7-Zip.%%A\DefaultIcon /VE /D "%PROGRAMFILES%\7-Zip\7z.dll,%%B" /F
REG ADD %SC%\7-Zip.%%A\shell\open\command /VE /D "\"%PROGRAMFILES%\7-Zip\7zFM.exe\" \"%%1\"" /F
)
)
</pre>
Anonymous user

Navigation menu