Help! Docx opened as zip files!
Moderators: Hacker, petermad, Stefan2, white
Help! Docx opened as zip files!
Hello!
Please help: I don't know why, but today TC thinks that docx files are zip files and opens them in the content pane instead of launching Word.
I tried from File Expolorer and docx files are treated as usual.
What could have happened? What should I fix?
Thank you!
Please help: I don't know why, but today TC thinks that docx files are zip files and opens them in the content pane instead of launching Word.
I tried from File Expolorer and docx files are treated as usual.
What could have happened? What should I fix?
Thank you!
Re: Help! Docx opened as zip files!
I think this could have something to do with installed plugins, but I didn't change anything recently
Re: Help! Docx opened as zip files!
It is because docx-files ARE zip files containing all the data. (docx are containers just like epub are)
What happens if you try to open it from explorer? did u make sure Word the is the default handler for docx-files?
What happens if you try to open it from explorer? did u make sure Word the is the default handler for docx-files?
Hoecker sie sind raus!
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Help! Docx opened as zip files!
Total Commander does this when there is no association for an extension, and the file is a (renamed) zip file.
Please run my registry info tool from here:
https://www.totalcommander.ch/win/tools/registryinfo.zip
Then input the affected extension (e.g. .docx) and post the results.
Please run my registry info tool from here:
https://www.totalcommander.ch/win/tools/registryinfo.zip
Then input the affected extension (e.g. .docx) and post the results.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Help! Docx opened as zip files!
2Sir_SiLvA as I wrote, File Explorer continues to treat DOCX files as usual, it seems to be only TC to have changed behavior.
2ghisler(Author) here the results for DOCX: https://pastebin.com/Py6FsLu7
(the results are too big to be pasted here)
2ghisler(Author) here the results for DOCX: https://pastebin.com/Py6FsLu7
(the results are too big to be pasted here)
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Help! Docx opened as zip files!
Thanks. My tool could not find any valid association. There is neither a pointer from
[HKEY_CLASSES_ROOT\.docx]
to something like
[HKEY_CLASSES_ROOT\Word.Document.12]
nor from
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.docx]
(no userchoice entry).
There is a list of possible handlers under
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.docx\OpenWithList]
and
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.docx\OpenWithProgids]
but nothing the user has chosen.
Honestly, I have no idea what to do with this mess.
[HKEY_CLASSES_ROOT\.docx]
to something like
[HKEY_CLASSES_ROOT\Word.Document.12]
nor from
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.docx]
(no userchoice entry).
There is a list of possible handlers under
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.docx\OpenWithList]
and
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.docx\OpenWithProgids]
but nothing the user has chosen.
Honestly, I have no idea what to do with this mess.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Help! Docx opened as zip files!
The poster did not said what application should open Docx files.
And does the Explorer open such files ?
And does the Explorer open such files ?
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
- Wilhelm M.
- Power Member
- Posts: 1049
- Joined: 2003-06-05, 10:45 UTC
Re: Help! Docx opened as zip files!
Whatever "as usual" means...pdario wrote: 2022-10-05, 07:12 UTC I tried from File Expolorer and docx files are treated as usual.
Grüße/Regards,
Wilhelm
Wilhelm
Re: Help! Docx opened as zip files!
Does your docx are still shown with word icon ?
Did you try with a fresh Total Commander install ?
You can from a running TC use :
If on the newest TC it works as expected, you have a configuration issue !
If it does not work, just try to add a TC special association for docx
Usually you can find winword.exe as a sample this is winword for office 16 "C:\Program Files\Microsoft Office\root\Office16\WINWORD.EXE"
You will have to do the same for xlsx, pptx, ....
Did you try with a fresh Total Commander install ?
You can from a running TC use :
Code: Select all
%commander_EXE% /i=%TEMP%\empty.ini
If it does not work, just try to add a TC special association for docx
Usually you can find winword.exe as a sample this is winword for office 16 "C:\Program Files\Microsoft Office\root\Office16\WINWORD.EXE"
You will have to do the same for xlsx, pptx, ....
Re: Help! Docx opened as zip files!
Perhaps the easiest solution would be to create an internal association ( see https://www.ghisler.ch/wiki/index.php/Internal_File_Associations_Tutorial ) and point it too "winword.exe" rather than try to "fix it"
(edit: corrected to winword.exe)
(edit: corrected to winword.exe)
Last edited by hi5 on 2022-10-05, 21:29 UTC, edited 1 time in total.
F4MiniMenu (Forum) - Open selected file(s) from TC in defined editor(s) - A (minimalistic) clone of F4Menu
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
Re: Help! Docx opened as zip files!
Files - Associate with... - winword.exe.
HTH
Roman
HTH
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Help! Docx opened as zip files!
The problem is that others may have the same troubles if Microsoft's installer adds these incomplete registry keys. How should I recognize this as a valid association?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Help! Docx opened as zip files!
@pdario:
What happens if you do the following?:
- Start Total Commander
- change to a folder with at least one docx-file
- type cmd + enter into the command line of TC
(new windows opens)
- type the filename of the docx-file + extension (ie mydocument.docx) and press enter
write here what happens?
What happens if you do the following?:
- Start Total Commander
- change to a folder with at least one docx-file
- type cmd + enter into the command line of TC
(new windows opens)
- type the filename of the docx-file + extension (ie mydocument.docx) and press enter
write here what happens?
Hoecker sie sind raus!
Re: Help! Docx opened as zip files!
How about associating .docx wia the context menu:
- Right-click on a .docx file.
- Click on" Open with...".
- If you don't see Microsoft Word in the list of "Other options" - click on "More apps".
- Click on Microsoft Word.
- Click on "Always use this app to open .docx files".
- If you don't see Windows Word in the list of "More apps", then click on "Look for another app on this PC" and go to C:\Program Files\Microsoft Office\root\Office16\WINWORD.EXE
- Click OK.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Help! Docx opened as zip files!
I'm really sorry, but I missed all these replies, as I didn't receive any email notification. I'll try to answer them all here:
TC continues to mis-handle DOCX files, while File Explorer behaves as expected: correct icon and Word starts when double clicking them.
I didn't try a fresh TC install.
has same result. I tried both 32 and 64bit.
PPTX and XLSX are handled correctly.
I tried this
Before adding a custom association and re-associate docx with windows, is there anything you want me to test?
I
TC continues to mis-handle DOCX files, while File Explorer behaves as expected: correct icon and Word starts when double clicking them.
I didn't try a fresh TC install.
Code: Select all
%commander_EXE% /i=%TEMP%\empty.ini
PPTX and XLSX are handled correctly.
I tried this
and Word starts as expected.What happens if you do the following?:
- Start Total Commander
- change to a folder with at least one docx-file
- type cmd + enter into the command line of TC
(new windows opens)
- type the filename of the docx-file + extension (ie mydocument.docx) and press enter
Before adding a custom association and re-associate docx with windows, is there anything you want me to test?
I