Plamdi Posted October 29, 2006 Posted October 29, 2006 Don't you hate it when you install your compression software - 7-zip, winzip, winrar ... whatever you flavour is and then they change all the icons to THEIR icon for ALL archive formats? Here's a simple solution (first uninstall zip folders):@ECHO OFFREG ADD HKCR\.iso /VE /D "isofile" /FREG ADD HKCR\.iso /V "Content Type" /D "application/x-zip-compressed" /FREG ADD HKCR\isofile /VE /D "ISO Archive" /FREG ADD HKCR\isofile\DefaultIcon /VE /D "%SystemRoot%\System32\shell32.dll,188" /FREG ADD HKCR\.zip /VE /D "zipfile" /FREG ADD HKCR\.zip /V "Content Type" /D "application/x-zip-compressed" /FREG ADD HKCR\zipfile /VE /D "ZIP Archive" /FREG ADD HKCR\zipfile\DefaultIcon /VE /D "%SystemRoot%\System32\zip.ico" /FREG ADD HKCR\.tar /VE /D "tarfile" /FREG ADD HKCR\.tar /V "Content Type" /D "application/x-zip-compressed" /FREG ADD HKCR\tarfile /VE /D "TAR Archive" /FREG ADD HKCR\tarfile\DefaultIcon /VE /D "%SystemRoot%\System32\zip.ico" /FREG ADD HKCR\.gz /VE /D "gzipfile" /FREG ADD HKCR\.tgz /VE /D "gzipfile" /FREG ADD HKCR\.gz /V "Content Type" /D "application/x-zip-compressed" /FREG ADD HKCR\.tgz /V "Content Type" /D "application/x-zip-compressed" /FREG ADD HKCR\gzipfile /VE /D "gzip archive" /FREG ADD HKCR\gzipfile\DefaultIcon /VE /D "%SystemRoot%\System32\zip.ico" /FREG ADD HKCR\.bz2 /VE /D "bzipfile" /FREG ADD HKCR\.tbz2 /VE /D "bzipfile" /FREG ADD HKCR\.tb2 /VE /D "bzipfile" /FREG ADD HKCR\.bz2 /V "Content Type" /D "application/x-zip-compressed" /FREG ADD HKCR\.tbz2 /V "Content Type" /D "application/x-zip-compressed" /FREG ADD HKCR\.tb2 /V "Content Type" /D "application/x-zip-compressed" /FREG ADD HKCR\bzipfile /VE /D "bzip2 compressed file" /FREG ADD HKCR\bzipfile\DefaultIcon /VE /D "%SystemRoot%\System32\zip.ico" /FREG ADD HKCR\.7z /VE /D "7zipfile" /FREG ADD HKCR\.7z /V "Content Type" /D "application/x-zip-compressed" /FREG ADD HKCR\7zipfile /VE /D "7-Zip Archive" /FREG ADD HKCR\7zipfile\DefaultIcon /VE /D "%SystemRoot%\System32\7z.ico" /FREG ADD HKCR\.rar /VE /D "rarfile" /FREG ADD HKCR\.rar /V "Content Type" /D "application/x-zip-compressed" /FREG ADD HKCR\rarfile /VE /D "RAR Archive" /FREG ADD HKCR\rarfile\DefaultIcon /VE /D "%SystemRoot%\System32\rar.ico" /FREG ADD HKCR\.lha /VE /D "lhafile" /FREG ADD HKCR\.lha /V "Content Type" /D "application/x-zip-compressed" /FREG ADD HKCR\.lhz /VE /D "lhafile" /FREG ADD HKCR\.lhz /V "Content Type" /D "application/x-zip-compressed" /FREG ADD HKCR\lhafile /VE /D "LHA Archive" /FREG ADD HKCR\lhafile\DefaultIcon /VE /D "%SystemRoot%\System32\zip.ico" /FREG ADD HKCR\.ace /VE /D "acefile" /FREG ADD HKCR\.ace /V "Content Type" /D "application/x-zip-compressed" /FREG ADD HKCR\acefile /VE /D "ACE Archive" /FREG ADD HKCR\acefile\DefaultIcon /VE /D "%SystemRoot%\System32\zip.ico" /FREG ADD HKCR\.arj /VE /D "arjfile" /FREG ADD HKCR\.arj /V "Content Type" /D "application/x-zip-compressed" /FREG ADD HKCR\arjfile /VE /D "ARJ Archive" /FREG ADD HKCR\arjfile\DefaultIcon /VE /D "%SystemRoot%\System32\zip.ico" /FThis is a WIP.You should run this file BEFORE installing your archiving software, it is included as a batch file so you can put it directly into another batch file. When you install your software - 7zip, winzip, winrar, whatever, you should allow it to add shell extensions -but not to associate itself with the file. Please let me know of other formats you would like to see included and also what other icons I could include/use. At the moment I've set most archives to the "Winzip icon" - I would be interested if you have other alternatives. I would eventually like to create a DLL file with all the icons in it so that you only have to copy one file into System32 ... if anyone knows of the best way to do this please LMK. Cabinent File is not included because it already has its own icon set (and disabling zip folders does not disable .cab folders - does anyone know how to do this?)For now you can download the three required icons from my site directly:http://plamdi.com/files/7z.icohttp://plamdi.com/files/rar.icohttp://plamdi.com/files/zip.ico
pepoluan Posted November 27, 2006 Posted November 27, 2006 At the moment I've set most archives to the "Winzip icon" - I would be interested if you have other alternatives.There are lots of iconpacks lying around in the Internet. DeviantArt contains some, e.g. Mattahan's ... um, unique GANT iconsets.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now