Page 1 of 1

AppendLnk for packers? (zip:file.ext.zip)

Posted: 2007-04-23, 18:53 UTC
by StatusQuo
HISTORY.TXT wrote:07.06.06 Added: wincmd.ini [Configuration] AppendLnk=1 -> TC creates lnk file names in the form file.ext.lnk instead of file.lnk (Ctrl+Shift+F5)
Is it possible to have this feature in the packer-dialog, too?

Actually with Alt-F5 on a single file I get:

Code: Select all

zip:file.ZIP
Instead I'd like to get:

Code: Select all

zip:file.EXT.ZIP
With GZ this is already implemented:

Code: Select all

gz:file.EXT.GZ
Is there a way to have this behaviour with the other packers, too?

Re: AppendLnk for packers? (zip:file.ext.zip)

Posted: 2007-04-24, 05:37 UTC
by jb
I would also welcome that feature when file name extensions were appended generally (as with AppendLnk=1) instead of replaced to prevent loss of information. So the option AppendLnk might be renamed to AppendFileNameExtension.

AHK workaround

Posted: 2008-01-14, 18:41 UTC
by StatusQuo
I now wrote an AHK workaround for this, auto-suggesting a context sensitive name:
wiki: AppendLnk option for packing (plus: Automatically assign name for archive).

Code: Select all

; // Resulting archive name:
; //   - if only 1 file selected -------------------- :  zip:filename.ext.zip (*.*.zip)
; //   - if multiple files /      same name  selected :  zip:filename.zip     (  *.zip)
; //   - if multiple files / different names selected :  zip:dirname.zip (as suggested by TC)
It would be much more convenient to have this natively in TC, of course.

Posted: 2008-01-29, 02:44 UTC
by StatusQuo
StatusQuo wrote:I now wrote an AHK workaround for this, auto-suggesting a context sensitive name:
wiki: AppendLnk option for packing (plus: Automatically assign name for archive).
FYI: Updated to version 1.03 in the meantime (faster and more reliable)...

Update

Posted: 2009-08-26, 19:21 UTC
by StatusQuo
StatusQuo wrote:I now wrote an AHK workaround for this, auto-suggesting a context sensitive name:
wiki: AppendLnk option for packing (plus: Automatically assign name for archive).
Updated to work with TC 7.50 (rc1) now (changed control names).