Compress in same directory

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Redglyph
Junior Member
Junior Member
Posts: 5
Joined: 2023-02-03, 11:14 UTC

Compress in same directory

Post by *Redglyph »

Hello,

A feature I've missed a lot since I own TC (a very long time) is the ability to compress in the same directory, instead of creating the zip in the other panel. Or am I missing the shortcut for it?

Typical cases are:
  • creating a backup of a current project (I want it at the same level as the project directories)
  • sending a zip of something by email (I really don't need to put it elsewhere; I'll probably delete it right away)
I know it's possible to point the other panel to the same directory, do the zip, then restore the other panel to where it was, but it's tedious. So far, I've been editing the location manually, but the very idea of TC is avoiding those tedious operations, so I'm surprised it's not a feature.

Example:
  • left panel = C:\tmp, right panel = D:\projects
  • current panel: right panel
  • I move the cursor onto the directory a (D:\projects\a)
  • I press Alt + Shift + F5
=> Instead of proposing to create C:\tmp\a.zip, it proposes D:\projects\a.zip

I propose Alt+Shift+F5 because it seems logical, Shift+F5 and Shift+F6 focusing on the current panel rather than the other one.
User avatar
Stefan2
Power Member
Power Member
Posts: 4175
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Compress in same directory

Post by *Stefan2 »

Read more about "Ctrl+Alt+F5"
>>> viewtopic.php?t=67249



That?


 
Redglyph
Junior Member
Junior Member
Posts: 5
Joined: 2023-02-03, 11:14 UTC

Re: Compress in same directory

Post by *Redglyph »

Stefan2 wrote: 2024-05-15, 15:22 UTC >>> viewtopic.php?t=67249


That?


 
Thanks. It was moving the files to the archive instead of simply archiving them, and using other key combinations doesn't seem to work - the first letters seem to dictate the behaviour rather than the command, which is very confusing.

The only apparent possibility is using CA:

Code: Select all

[Shortcuts]
CA+F5=cm_PackFiles
Not as logical or easy to use than Alt+Shift, but better than nothing. :)
User avatar
petermad
Power Member
Power Member
Posts: 14889
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Compress in same directory

Post by *petermad »

2Redglyph
You can also assign a hotkey (Alt-Shift+F5 if you want) to the command cm_PackFiles with the Parameter /T="."

See: https://tcmd.madsenworld.dk/packtosourcedir.png
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
Post Reply