Total Commander added support for passing archives to SI!

Post your new features ideas and suggestions here.

Total Commander added support for passing archives to SI!

Postby brahman » Mon Aug 03, 2009 2:13 pm

Hi Igor,

good news:

Ghisler added support for passing archives to SI in TC7.5 Beta8 :). Please see

in history.txt:

"21.07.09 Added: Button bar, start menu: New parameter %Z: Allow to pass name of archive in %P or %T parameter (only recommended if the called program can handle it)"

and in the help file:

"%Z anywhere in the parameters: Allow to pass archives as path to programs for %P or %T when inside an archive

Example: %Z%P passes name of archive to external tool when TC shows contents of an archive"

Bad news:
I cannot get it to work. :(

Could you try and let us know if you succeed?

Please use long file- and pathnames with spaces in your trials.

Regards,

Brahman
brahman
 
Posts: 180
Joined: Thu Jan 11, 2007 6:18 pm

Postby grigsoft » Tue Aug 04, 2009 7:49 am

Thank you, I wasn't aware of this release. It does work; however there is a problem - folder in archive is passed without last '\', as result it conflicts with last quote character, if used as before: "%P\" "%Z%T\"
So for now you can only create additional toolbar button with this syntax:
"%P\" "%Z%T"
to compare folder with folder in archive.
I will check TC forum and ask myself - if this is by design, I will make a fix in my code.
Also, I will support this syntax in CompareIt - it can handle zip archives too, this feature will fit nicely.
grigsoft
Site Admin
 
Posts: 1661
Joined: Tue Sep 23, 2003 7:37 pm

Postby brahman » Tue Aug 04, 2009 4:22 pm

If you set up CI to work as replacement for the internal TC comparer, then it already does archives very nicely.

So please make sure you do not break that functionality when you make code changes.
brahman
 
Posts: 180
Joined: Thu Jan 11, 2007 6:18 pm

Postby grigsoft » Tue Aug 04, 2009 4:45 pm

Oh, I didn't know that. I will check.
Also, Christian confirmed that slash should be there, so it will work in future betas.
grigsoft
Site Admin
 
Posts: 1661
Joined: Tue Sep 23, 2003 7:37 pm

Postby brahman » Wed Aug 05, 2009 2:32 pm

Hi Igor,

re:
"%P\" "%Z%T"

You are doing a hack here to make archives work on target, but ideally
shouldn't %Z work in front of both sides?

You may have an archive on either target or source and not restrict yourself to having an archive only on target!

So when you rewrite your code (hopefully you can do it soon), please consider this possibility.

Best regards,

B.
brahman
 
Posts: 180
Joined: Thu Jan 11, 2007 6:18 pm


Return to Synchronize It! : Suggestions

Who is online

Users browsing this forum: No registered users and 3 guests

cron