ZTree.com  | ZEN  | About...  

 Index   Back

[Discuss] Navigating directly to a specific file   [Discuss]

By: Slobodan Vujnovic   Homepage   France  
Date: Feb 24,2018 at 09:23
In Response to: [Discuss] Navigating directly to a specific file (Slobodan Vujnovic)

To clarify what I meant in the top post when
I talked about the ZTree command line:

I have some keyboard shortcuts that take me directly to Excel
sheets I use often. This beats opening these files from file
managers, or directly from Excel. Neither do I have to open
a command line shell.

Doing the same with some frequent files that I manage in ZTree,
could be done via BAT files (and hence keyboard shortcuts) to
reach them instantly:

ZTW.EXE C:\somedir\more\more\personal\secret\passwords.txt
ZTW.EXE C:\somedir\more\more\personal\secret\private_phones.txt

Currently, this does not work, as only paths [dir specs] and filters
are allowed. In addition, filters must contain wildcards.

However, the workaround below will work just fine, but requires more
work and non-ambiguous (unique, filter-proof) file naming:

ZTW.EXE C:\somedir\more\more\personal\secret private_phone*.txt /KRET

I'm not really sure if it's worth touching the command line logic
to accommodate this feature, but...

A simple implementation could be: if a full filespec is detected,
it takes precedence over all other paths and filters and ZTree
tries its best to navigate to the file.

Thread locked

Messages in this Thread

95,078 Postings in 11,987 Threads, 350 registered users, 115 users online (0 registered, 115 guests)
Index | Admin contact |   Forum Time: Aug 15, 2020 - 10:23 am EDT  |  Hits:33,139,483  (11,312 Today )
RSS Feed