ZTree.com  | ZEN  | About...  

 Index   Back

a quick test   [Zeta]

By: Hartmut Schneider     Germany  
Date: Oct 21,2019 at 05:29
In Response to: Next build (nomsg) (Kim Henkel)

> Change- Batch parameters %4 & %5 not set in Directory Mode

Had a quick test with the path D:\000\Parent.PExt
- Tree stood on D:\000, DMode active, Highlight on Parent.PExt
and got these parameter expands:

Param 1, Path and name     = D:\000\Parent.PExt
Param 2, Drive letter = D
Param 3, Directory path = \000\Parent.PExt
Param 4, Name w/o ext =
Param 5, Extension =
Param 4.5 Name.Extension = .

Param p, Parent directory = \000
Param n, Current dir Name = Parent
Param e, Current dir Ext = PExt
Para n.e Curr.Dir Name.Ext = Parent.PExt
p\n.e Curr.Dir Path,N.E = \000\Parent.PExt
D:p\n.e Curr.Dir D:\p,N.E = D:\000\Parent.PExt

Seems okay, except this one:
Param 4.5 Name.Extension   = .
Here the user-entered dot is not removed, although %5 is empty
(in other cases ZTree _does remove a user-entered dot between %4 and %5
 if %5 is empty)

Hartmut
240 views      
Thread locked
 

Messages in this Thread

 
95,097 Postings in 11,989 Threads, 350 registered users, 89 users online (0 registered, 89 guests)
Index | Admin contact |   Forum Time: Sep 21, 2020 - 3:24 pm EDT  |  Hits:34,182,512  (15,668 Today )
RSS Feed