14

I have 7-Zip installed, and it hasn't changed the default file associations. I've changed the associations for .rar and .7z, but I can't find a way to change .zip.

I looked in Default Programs\Set Associations, and I searched for .zip, but it's not there. Seriously it goes from .z, .z96, .zoo. It seems to skip .zip. How can I fix this? If it needs to be, I'm fine with registry edits.

3 Answers 3

17

7-Zip does not associate itself with the various compressed file types.

To associate .zip file types with 7-Zip, do the following:

  1. Open the 7-Zip File Manager with Administrator Rights from your start menu
  2. Go to the tools menu and select options
  3. Either select the individual extensions you wish to associate or press the “Select All” button (recommended).
  4. Press OK to save your changes

Source: https://community.spiceworks.com/how_to/45718-set-file-associations-to-work-with-7-zip-in-windows-7-windows-server-2008-r2

2
  • The link is (effectively) broken. It redirects to a generic page. Jul 5, 2018 at 4:27
  • @PeterMortensen I've updated the link with another one.
    – clhy
    Jul 5, 2018 at 6:07
5

Elevate the 7-Zip File Manager to run as an administrator. Then click menu ToolsOptions and choose your file associations.

Or if you're in an elevated command prompt you can use assoc and ftype to tweak your system:

C:\WINDOWS\system32>assoc .zip=7-Zip.zip
.zip=7-Zip.zip

C:\WINDOWS\system32>ftype 7-Zip.zip=C:\Program Files\7-Zip\7zFM.exe
7-Zip.zip=C:\Program Files\7-Zip\7zFM.exe

The default for .zip is CompressedFolder:

C:\WINDOWS\system32>assoc .zip=CompressedFolder

C:\WINDOWS\system32>ftype CompressedFolder=%SystemRoot%\Explorer.exe /idlist,%I,%L
1
  • 1
    Ah, I just needed to know the executable to choose from the "Open With" prompt in Windows. So it is 7zFM.exe where 7zFM stands for 7-Zip File Manager (according to the "details" in the file properties). This comment is just for search engines to find the "Open With" really :) Jul 20, 2020 at 8:26
0

When right-clicking on the file, open it with another application, and set it as the default from the Windows default dialogue.

Contextual Menu on file

Default Picker

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.