Synchronize directories does not accept path with %ENV%

Please report only one bug per message!

Moderators: Stefan2, white, sheep, Hacker

Post Reply
user160119
New Member
New Member
Posts: 1
Joined: 2016-01-19, 07:19 UTC

Synchronize directories does not accept path with %ENV%

Post by *user160119 » 2016-01-19, 07:33 UTC

if pathname contains VALID environment variable, for example

Y:\any_data_%SystemRoot%_1\files\

but 'any_data_%SystemRoot%_1' is just name, not environment var.

User avatar
Horst.Epp
Power Member
Power Member
Posts: 3308
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp » 2016-01-19, 09:48 UTC

What a strange idea to name files like envuronment variables.
And you are realy expect support for that ? :(

User avatar
milo1012
Power Member
Power Member
Posts: 1091
Joined: 2012-02-02, 19:23 UTC

Post by *milo1012 » 2016-01-19, 13:50 UTC

It was already stated in the past that there won't be support for it:
http://ghisler.ch/board/viewtopic.php?t=37598
http://ghisler.ch/board/viewtopic.php?t=40570
Horst.Epp wrote:What a strange idea to name files like envuronment variables.
Yes, but even some commercial apps, like the mentioned VMware ThinApp uses them, which occasionally gives me a lot of trouble too.
TC plugins: PCREsearch and RegXtract

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 37264
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2016-01-21, 11:32 UTC

These paths are not supported in locations where environment variables are supported, like in the sync tool.

These paths even cause troubles with the command line, e.g. when you try to create a subst'ed drive. Both these commands will fail:
subst y: c:\test\a%SystemRoot%b
subst y: c:\test2\a%%SystemRoot%%b
Author of Total Commander
http://www.ghisler.com

Post Reply