ZTree.com  | ZEN  | About...  

 Index   Back

good idea, but...   [BETA]

By: Martijn Coppoolse   Homepage   Voorburg, NL  
Date: Mar 06,2014 at 08:54
In Response to: use %jp (Hartmut Schneider)

> %j1 may be a file if in FW.
>
> Instead, you may use %jp\%jn.%je
> -
> the env.variable %p 'parent path' is independent of standing in Tree
> window or File window.  
> From Help:
> %p  - Parent directory
> %e  - Current dir ext
> %n  - Current dir name

Good point Hartmut, danke! I'd totally forgotten about %p, %e and %n.

But in my test situation, %p (which should be C:\) expands to ROOTDIR, which leads to the following result:

Doing [Ctrl-B]atch from C:\MC:

BATCH file name: %jp\%jn.%je\temp.bat

Directory does not exist. Make new path? [Y]es


The generated file is saved as C:\MC\ROOTDIR\MC\temp.bat. :-)



Bug? (Windows) feature?


--
Martijn

1,088 views      
Thread locked
 

Messages in this Thread

 
96,640 Postings in 12,231 Threads, 350 registered users, 49 users online (0 registered, 49 guests)
Index | Admin contact |   Forum Time: Apr 18, 2024 - 12:15 am UTC  |  Hits:62,905,677  (101 Today )
RSS Feed