ZTree.com  | ZEN  | About...  

 Index   Back

[ZEP] A new % value   [ZEP]

By: Walt       
Date: Jul 04,2019 at 07:34
In Response to: [ZEP] A new % value (Hartmut Schneider)

> > After more analysis, %c should not include the root directory.
> You said 'root directory', do you mean the branch root?

Yes, "root" means the branch root.

>
> > It should only return the sub-directory path to the highlighted file.
> Agreed, that's what I think of, too.
>
> > This way, the %1 would be mimicked by %r\%c\%4.%5
> Looks good, this is what I imagine.
>
> > If the root directory is needed, %n\%c would work.
> What do you mean here?
> In the help file's example C:\2010\September\Test_File.txt, %n is
> the Current dir name (September).
> Do you mean another parameter?

No other parameters, just combinations with existing parameters:
Given
-- directory structure C:\AAA\BBB\CCC\DDD\EEE
-- "branch root" is CCC
-- current file is ...\EEE\FILE.EXT
then
-- %c returns DDD\EEE\
-- %n\%c returns CCC\DDD\EEE
-- %r\%c\%4.%5 returns C:\AAA\BBB\CCC\DDD\EEE\FILE.EXT

Walt

1,038 views      
Thread locked
 

Messages in this Thread

 
96,637 Postings in 12,231 Threads, 350 registered users, 62 users online (0 registered, 62 guests)
Index | Admin contact |   Forum Time: Mar 28, 2024 - 1:21 pm UTC  |  Hits:62,367,987  (20,384 Today )
RSS Feed