39
I have installed 7-Zip on my machine and associated it with serveral archive file types.
When double clicking an archive (so far I have tried .zip, .7z and .bz2 files), a message box pops up telling me that 7-Zip cannot open this file as an archive.
However, when I right click the file and select 7-Zip->Open as archive, it works just fine.
All the file type are associated to 7zFM.exe, the 7-Zip File Manager (as opposed to the 7-Zip GUI or command line).
- file-association
- 7-zip
Improve this question
edited Dec 12, 2012 at 13:57
Chris
asked Dec 12, 2012 at 13:38
ChrisChris
95322 gold badges1212 silver badges2525 bronze badges
5
-
maybe the file is corrupted?
–picakhu
Commented Dec 12, 2012 at 14:04
-
1
No, it happens on every archive file. And I can always open them using the context menu.
–Chris
Commented Dec 12, 2012 at 14:29
-
Did you try an uninstall and reinstall of 7zip?
–Karan
Commented Dec 12, 2012 at 18:03
-
@Karan Yes, twice already.
–Chris
Commented Dec 17, 2012 at 7:26
-
I had this issue to open a jar on Windows 10. I solved it by chosing (in "open it with") "7Zip FM.exe" instead of "7zip GUI.exe".
–JinSnow
Commented Dec 12, 2020 at 15:47
Add a comment |
4 Answers
Reset to default
51
The problem is that the default is opening with 7zG (gui) while it should open with 7zFM (file manager).
You can change this using a program like DefaultProgramsEditor
Good luck.
Improve this answer
answered Dec 1, 2015 at 7:45
DanielDaniel
51144 silver badges22 bronze badges
4
-
1
This worked - now double-clicking an associated *.zip file opens up the 7z graphical interface as expected.
–Arctic Vowel
Commented Jan 16, 2016 at 8:09
-
Only this one worked for me. :)
–Sourav Ghosh
Commented Aug 18, 2016 at 20:44
-
+1 Still valid as of October 2020.
–Sabuncu
Commented Oct 23, 2020 at 16:55
-
2
And still valid October 2021. You can also change it using Windows context menu -> open with -> browse for other app -> find the 7zFM.exe in Program Files, select it, and then mark the 'Use this app to open always'. The literal text may be different.
–RolfBly
Commented Oct 9, 2021 at 19:50
Add a comment |
7
You could try to reset the associations from within 7-zip File Manager. One thing to note, if you are using Windows 7, you need to run 7zFM as administrator so it can set the changes.
Improve this answer
answered Dec 12, 2012 at 23:19
ChrisNChrisN
1,06711 gold badge99 silver badges2222 bronze badges
2
-
Thanks, this is a good idea I hadn't thought of yet. Unfortunately, this didn't fix it.
–Chris
Commented Dec 17, 2012 at 7:34
-
Worked for me with 7Zip 18.05 and Windows 10, with the menu Extras/Options on the first tab by setting the desired file types manally using the '+' button.
–malamut
Commented Jan 2, 2019 at 20:29
Add a comment |
7
Some registry keys were pointing to an x86 version of 7-Zip, which for some reason can't handle being invoked directly on this machine. I am not sure whether this is a bug in the x64 version of 7-Zip or whether a x86 version was installed on this machine before and didn't uninstall cleanly.
The following registry keys referred to the Program Files (x86)
directory. Changing those to refer to the Program Files
directory fixed the problem.
HKEY_CURRENT_USER\Software\Classes\7z_auto_file\shell\open\commandHKEY_CURRENT_USER\Software\Classes\Applications\7z.exe\shell\open\commandHKEY_CURRENT_USER\Software\Classes\Applications\7zFM.exe\shell\open\command
Improve this answer
edited Oct 24, 2018 at 15:26
answered Jan 7, 2013 at 10:13
ChrisChris
95322 gold badges1212 silver badges2525 bronze badges
Add a comment |
3
As mentioned in a comment by @RolfBly, this can also be resolved as follows (Windows 10):
- Right-click on the file
- "Open With..." or "Open With..." > "Choose another app"
- Tick the "Always use this app to open .7z files" checkbox at the bottom of the popup
- Click "More Apps"
- Scroll to the bottom of the list, click "Look for another app on this PC"
- Navigate to the 7zFM.exe application - typically in Program Files/7-Zip
- Select the 7zFM.exe application, OK
.7z files will now open in 7Zip as expected
Improve this answer
answered May 6, 2022 at 10:12
simonalexander2005simonalexander2005
27244 silver badges1616 bronze badges
2
-
1
Since all the settings in my registry looked correct, the accepted answer was unhelpful. Your simple, direct answer, which didn't involve editing the Registry, worked.
–David A. Gray
Commented Aug 20, 2022 at 15:54
-
1
For what it's worth, my machine had some sort of indirect configuration, fully implemented under HKLM, and partially implemented under HKCU.
–David A. Gray
Commented Aug 20, 2022 at 15:55
Add a comment |
You must log in to answer this question.
Start asking to get answers
Find the answer to your question by asking.
Ask question
Explore related questions
- file-association
- 7-zip
See similar questions with these tags.