Open .jar files as a directory [solved]
Moderators: white, Hacker, petermad, Stefan2
Open .jar files as a directory [solved]
Hello,
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:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\OpenWithProgids\)
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!
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:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\OpenWithProgids\)
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!
Last edited by hatalma on 2019-08-19, 15:02 UTC, edited 1 time in total.
- sqa_wizard
- Power Member
- Posts: 3864
- Joined: 2003-02-06, 11:41 UTC
- Location: Germany
Re: Open .jar files as a directory
There is no simple way to do this, but you may use a tricky one.
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.
Note: You have to restore the FileExts\OpenWithProgids of jarfile for the last one, but you certainly made a backup before deleting it
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
#5767 Personal license
Re: Open .jar files as a directory
You can also use TC's internal associaltions ("Files" -> "Internal Associations (Total Commander Only)...") - like this:
http://madsenworld.dk/tcmd/jarassoc.png
Or you can install either the 7zip or the Total7zip plugin
http://madsenworld.dk/tcmd/jarassoc.png
Or you can install either the 7zip or the Total7zip plugin
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Open .jar files as a directory
Or use Shift+Enter instead of Enter from the keyboard.sqa_wizard wrote: ↑2019-08-18, 14:51 UTCJust use the context menu of the file and select the very first entry with the filename in bold.hatalma wrote:And in rare cases it would be good if i still could somehow execute them as now (with java).
Andrzej P. Wozniak
Polish subforum moderator
Polish subforum moderator
Re: Open .jar files as a directory
For me even with a fresh ini file TC already behaves like wanted.
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.
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.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3527)
TC 11.03 x64 / x86
Everything 1.5.0.1375a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.78
QAP 11.6.3.3 x64
TC 11.03 x64 / x86
Everything 1.5.0.1375a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.78
QAP 11.6.3.3 x64
Re: Open .jar files as a directory
2Horst.Epp
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\" %*"
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Open .jar files as a directory
You don't need an association with the %Commander_exe%petermad wrote: ↑2019-08-18, 15:30 UTC You can also use TC's internal associaltions ("Files" -> "Internal Associations (Total Commander Only)...") - like this:
http://madsenworld.dk/tcmd/jarassoc.png
Or you can install either the 7zip or the Total7zip plugin
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
4. [Ok]
5. in the next dialog under Open: **zip
6. [Ok] [Ok]
Regards
Holger
Make our planet great again
Re: Open .jar files as a directory
2HolgerK
Of course - even better.5. in the next dialog under Open: **zip
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Open .jar files as a directory
Thank you for all the answers!
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.
Thanks again!
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.
Thanks again!