Pack any folder with some files and subfolders with subfiles. Any names, extensions, sizes.
Then make copies of the zip.
Zip #1: rename the packed foler path to sample.zip\Users\User\Documents\folder
Zip #2: rename the packed foler path to sample.zip\%$PERSONAL%\folder
Now open both archives in these folders on both sides of TC and open sync tool. Compare them. The second one (it has %) is not shown as empty instead of real files+folders.
AFAIK, that works with another % paths like appdata, etc. Can't remember them all now, but that is not the first time I see this.
P.S. Yes, I really use these folder names in archives for some reasons.
[TC 11.03] Sync bug with % paths
Moderators: Hacker, petermad, Stefan2, white
[TC 11.03] Sync bug with % paths
Ukrainian Total Commander Translator. Feedback and discuss.
- ghisler(Author)
- Site Admin
- Posts: 50824
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC 11.03] Sync bug with % paths
Unfortunately you can't have both support for environment variables and environment variables in paths, that's just impossible.
Moderator message from: ghisler(Author) » 2024-11-04, 08:56 UTC
Moved to will not be changed
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC 11.03] Sync bug with % paths
2ghisler(Author)
Can't understand what's the problem. I don't see any bugs with archivers or some another software there.
Could you describe that in details, please?
Can't understand what's the problem. I don't see any bugs with archivers or some another software there.
Could you describe that in details, please?
Ukrainian Total Commander Translator. Feedback and discuss.
- ghisler(Author)
- Site Admin
- Posts: 50824
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC 11.03] Sync bug with % paths
There is an error if a path contains a subdirectory named like an environment variable AND you try to use that path as a starting point in "synchronize dirs", e.g.
c:\%userprofile%
on one side will cause an error when you then click on "Compare".
There actually is a solution for the pseudo environment variables like %$PERSONAL%: Change the first character after the $ to lowercase, then TC ignores it:
sample.zip\%$pERSONAL%\folder
This doesn't work with regular environment variables like %userprofile%, though.
c:\%userprofile%
on one side will cause an error when you then click on "Compare".
There actually is a solution for the pseudo environment variables like %$PERSONAL%: Change the first character after the $ to lowercase, then TC ignores it:
sample.zip\%$pERSONAL%\folder
This doesn't work with regular environment variables like %userprofile%, though.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC 11.03] Sync bug with % paths
Lowecase folder name %$personal% works fine.
Thanks for help.
Thanks for help.
Ukrainian Total Commander Translator. Feedback and discuss.