ZTree.com  | ZEN  | About...  

 Index   Back

rename a directory 'under the cursor' ? i think it is impossible   [OT]

By: Ryan       
Date: Aug 01,2017 at 22:26
In Response to: rename a directory 'under the cursor' ? (Hartmut Schneider)

> and launch ZTW.exe from there (i.e. from a Cmd box with Current dir =
> D:\Ryan\temp1), then you can Neiter rename Nor delete temp1.
i noticed that i had to step down one dir level to rename it and then step up to the new dir in cmd box.

CD.. : step down
REN "%OLDDN%" "%NEWDN%"
CD "%NEWDN%" : step up so to speak. this works in cmd box.


> start /dD:\ %#ZtTools%\ZPreview.64.exe %#ZTHome%

AA= zzz.bat
start /dn:\ c:\ztree\ztw.exe /m /y c:\ztree

or

start /dn:\ c:\ztree\ztw.exe /m /y


BB=
SET OLDDN=%6
SET NEWDN=%OLDDN% (%DATE1%)
CD..
REN "%OLDDN%" "%NEWDN%"
CD "%NEWDN%"


if i use AA= to do BB= in ztreemenu, it didnt work.

i begin to think that renaming a directory where the cursor was in ztreemenu is impossible.

236 views      
Thread locked
 

Messages in this Thread

 
94,426 Postings in 11,918 Threads, 348 registered users, 7 users online (0 registered, 7 guests)
Index | Admin contact |   Forum Time: Sep 18, 2019 - 9:56 am EDT  |  Hits:28,648,355  (1,102 Today )
RSS Feed