ZTree.com  | ZEN  | About...  

 Index   Back

[ZEP] A new % value   [ZEP]

By: Ben Kent       
Date: Jun 26,2019 at 15:35
In Response to: [ZEP] A new % value (Walt)

> See my second post -- I added info forgotten in the first post and
> couldn't edit.

I did see the second post, but it didn't click what you were getting at.
To me the current directory is the directory of the highlighted file.
Using those definitions if C:\AAA\BBB\CCC is the current directory, then how can ZTree know which sub file you are referring to?

Maybe you are referring to the branch directory.

I think you may mean

Given this directory structure: C:\AAA\BBB\CCC\DDD\EEE\file.ext
Navigate to C:\AAA\BBB\CCC
Highlight file DDD\EEE\file.ext
%c returns the path relative to the branch i.e. DDD\EEE

There are already these
%e - Current dir ext
%n - Current dir name
%r - Root of Branch

so maybe this new one should be
%b - Path relative to the branch

So it doesn't get confused with the Current dir ones in peoples heads.



Messages in this Thread

94,382 Postings in 11,909 Threads, 347 registered users, 5 users online (0 registered, 5 guests)
Index | Admin contact |   Forum Time: Jul 24, 2019 - 4:26 am EDT  |  Hits:28,176,480  (2,632 Today )
RSS Feed