Total Commander (TC) has a feature called “packing”, which is actually built-in support for zip files that allows you to easily double-click a zip file and open it as if it was a folder – navigate zipped folders hierarchy, copy/move files and folders from it or open/edit/view files in it.
This is very handy, but often, I have to deal with zip files with other non-zip extensions, where double-clicking them opens them with another application, but I want to inspect their zipped content within Total Commander as if they had a zip extension. Three common samples for such files are XPI files used to package and install Firefox extensions, JAR files and EXE files which are actually self-extracting zip files. I’m currently working on two internal install frameworks. One of them generates a Setup.jar install file, and the other one, one run on Windows, generates a self-extracting exe using WinRAR.
In these three samples, when I want to view the zipped file content, I used to be forced to either open the file with 7-zip, or renaming the file to have a zip extension and open it in Total Commander.
Recently, I found out that there is a better way to handle this in Total Commander 7.
A few weeks ago I discovered that if I try to change the current directory of a Total Commander panel to a file and not a directory, Total Commander changes the directory to the directory of that file, and then selects the file, which is a handy feature of its own. However, if this file is a zip file, then Total Commander will not select the file, but instead, it will open it as a zip file. The good news is that this is true for all zip files, even those with other extensions like EXE, JAR or XPI.
Note that this only works with Total Commander 7 and not in earlier versions. Also note that this magic only occurs if you change the directory of the panel to the full absolute path of the zip file. Using a partial relative path won’t work, and Total Commander will not change the directory.
On my machine, where Total Commander is configured to have Ctrl-G start editing the panel path and Ctrl-P copies the full path of the selected file(s), I can easily select a zip file and type Ctrl-P, Ctrl-G, Enter to browse the file zipped content, but on other machine that doesn’t have this keyboard remapping, I’m using the following sequence:
- <Right Arrow> – to show the TC command line in case it is hidden (it is hidden on my machine)
- type cd
- <Space>
- <Ctrl-Shift-Enter> – to copy the full path of the selected file to the command line. This is a standard TC keyboard shortcut.
- <Enter> – to invoke the magic
I added “(obsolete)” to this post subject because after writing all of this, I went over the post draft to add links to the relevant words, and when I looked for a link that explains Total Commander support for zip files, I found these two FAQs about how to open JAR files and how to open self-extracting archives and realized that TC has a built-in support for handling this problem – using Ctrl-PageDown, so my tricks are pretty much obsolete. However, I thought this still deserves publishing, as it might reveal new features for TC users who read this.
March 13, 2010 at 3:13 am |
Dear Splinter, you made my day – many thanks. Had the same issue with jar file in IBM Sametime environment. Got hotfixes from IBM and had to place class files into a jar file.
My trick: search for class file within archives. This way I got into the JAR file and could apply the hotfix.
But Ctrl-Pagedown is really a charme.
Here’s another trick you may like. Two external USB harddisks are used for backup of data, synchronized and have same content but not amount of data. 1 GB delta. Solution: System Volume Information keeps data form restore points. How to get rid:
1. DOSBox cmd “takeown /r /f “System Volume Information”, answer “Y” if you got asked.
Now you can investigate content and size – stunning. Explorer or TotalCommander must show hidden system files of course.
2. Create a folder in root like “\delete-me”
3. Move “System Volume Information” to this folder
4. Delete “\delete-me”
Control Panel – system – Rstore point delete action won’t bring this result and refuse in result deletion. But with this procedure you can get rid of obsolete data. Source of this knowledge: http://www.sevenforums.com/performance-maintenance/20866-tell-me-how-delete-system-volume-information-d-3.html – User Infrasignal.
Found this info prior to yours. I feel lucky.
Will now look to your page. But this THANK YOU ! was a must to say.
Greetz from germany – Detlef
April 27, 2015 at 4:13 pm |
Valuable information. Lucky me I found your web site by chance, and I’m shocked why this accident didn’t came about
in advance! I bookmarked it.
June 17, 2016 at 9:13 am |
Other possibilities:
– press ctrl+’page down’ when target file is selected
– associate file extension with packer in Configuration, Options, Packer
September 30, 2019 at 12:57 pm |
pozdrav ako nekoga zanima tarot savjeti posjetite nas na tarotusluge.com
January 29, 2022 at 6:39 pm |
click to find out more
Total Commander (obsolete) tip: How to open a zip file with a non-zip file extension like JAR, XPI or EXE | splintor’s blog
January 30, 2022 at 12:45 am |
how many carbs in liverwurst
Total Commander (obsolete) tip: How to open a zip file with a non-zip file extension like JAR, XPI or EXE | splintor’s blog
January 30, 2022 at 1:09 am |
teppanyaki electric grill
Total Commander (obsolete) tip: How to open a zip file with a non-zip file extension like JAR, XPI or EXE | splintor’s blog
January 30, 2022 at 1:52 am |
teppanyaki grill aldi
Total Commander (obsolete) tip: How to open a zip file with a non-zip file extension like JAR, XPI or EXE | splintor’s blog
January 30, 2022 at 5:57 am |
artego opinioni
Total Commander (obsolete) tip: How to open a zip file with a non-zip file extension like JAR, XPI or EXE | splintor’s blog
January 30, 2022 at 7:16 am |
http://www.mimking.com.tw post to a company blog
Total Commander (obsolete) tip: How to open a zip file with a non-zip file extension like JAR, XPI or EXE | splintor’s blog
January 30, 2022 at 2:07 pm |
Asian erotic sex movies
Total Commander (obsolete) tip: How to open a zip file with a non-zip file extension like JAR, XPI or EXE | splintor’s blog
January 31, 2022 at 2:04 am |
phanxy rose
Total Commander (obsolete) tip: How to open a zip file with a non-zip file extension like JAR, XPI or EXE | splintor’s blog
January 31, 2022 at 6:49 am |
artego color
Total Commander (obsolete) tip: How to open a zip file with a non-zip file extension like JAR, XPI or EXE | splintor’s blog
March 10, 2023 at 9:47 am |
dedicated server translation
Total Commander (obsolete) tip: How to open a zip file with a non-zip file extension like JAR, XPI or EXE | splintor’s blog
March 10, 2023 at 7:29 pm |
find a dedicated server
Total Commander (obsolete) tip: How to open a zip file with a non-zip file extension like JAR, XPI or EXE | splintor’s blog
October 29, 2023 at 9:25 pm |
Check This Out
Total Commander (obsolete) tip: How to open a zip file with a non-zip file extension like JAR, XPI or EXE | splintor’s blog