ZTree.com  | ZEN  | About...  

 Index   Back

a quick test   [Zeta]

By: Hartmut Schneider     Germany  
Date: Oct 21,2019 at 09: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
1,203 views      
Thread locked
 

Messages in this Thread

 
96,637 Postings in 12,231 Threads, 350 registered users, 65 users online (0 registered, 65 guests)
Index | Admin contact |   Forum Time: Mar 28, 2024 - 2:09 pm UTC  |  Hits:62,369,640  (22,037 Today )
RSS Feed