I would like to find a way to open .jar files AS A DIRECTORY with double click/enter (just like normal directories).
I know it is possible with "Control + Page Down", but I want to make it the "default" (because I want to open a lot of jar again and again).
I already tried to remove the file association in system level with removing a registry key, but it did'nt work. (Maybe if I have to MODIFY it? But to what?)
(I deleted the "jarfile" idk-what at:
The best would be an internal association (in TotalCMD), but i know nothing about these...
And in rare cases it would be good if i still could somehow execute them as now (with java).
TC version: 8.52a - x64 (windows)
I hope it's understandable
Thanks in advance!
You have to tell TC that there is a packer plugin which will handle this.
- Configuration - Options - Packer
- Press "Configure packer extensions WCXs"
- At "All files with extension ..." enter "jar"
- Select any existing entry at the "Associate with" list for beeing a dummy
- Press OK
All jar files are handled as archive now and you may open them as zip directory by doubleclick.
Just use the context menu of the file and select the very first entry with the filename in bold.And in rare cases it would be good if i still could somehow execute them as now (with java).
Note: You have to restore the FileExts\OpenWithProgids of jarfile for the last one, but you certainly made a backup before deleting it
Or you can install either the 7zip or the Total7zip plugin
Or use Shift+Enter instead of Enter from the keyboard.
Andrzej P. Wozniak
It opens jar files like other archives without any special assigments or actions.
On the OS level it offers to open it with WinRAR if I double click a .jar file.
Intel(R) Core(TM) i7-4770 CPU @ 3.40GH, 16GB RAM
TC 9.50ß13 x64 / x86, Everything 220.127.116.112 (x64)
Horst.Epp wrote:On the OS level it offers to open it with WinRAR if I double click a .jar file
Apparantly hatalma - like me - has Java as the default association for jarfile on the OS level:hatalma wrote:it would be good if i still could somehow execute them as now (with java).
Code: Select all
[HKEY_CURRENT_USER\Software\Classes\.jar] @="jarfile" [HKEY_CLASSES_ROOT\jarfile\shell\open\command] @="\"C:\\Program Files (x86)\\Java\\jre1.8.0_221\\bin\\javaw.exe\" -jar \"%1\" %*"
You don't need an association with the %Commander_exe%
An association with the internal zip packer is enough:
1. place the cursor on a jar file
2. Files -> Internal Association (Total Commander only)...
3. [Add] -Button
5. in the next dialog under Open: **zip
6. [Ok] [Ok]
Of course - even better.5. in the next dialog under Open: **zip
I decided to install total7zip (8.5.6 still works on win7) to use HolgerK's method, but it prompted me to associate files with the new plugin so I ended up using sqa_wizard's solution.
Also didn't notice yet the first option in the context menu, so that and the Shift+Enter will be super-helpful too.