Synchronize directories does not accept path with %ENV%

Please report only one bug per message!

Moderators: white, Hacker, petermad, Stefan2

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 »

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: 6480
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

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: 1158
Joined: 2012-02-02, 19:23 UTC

Post by *milo1012 »

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: 48075
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

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
https://www.ghisler.com
Post Reply