ZTree.com  | ZEN  | About...  

 Index   Back

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

By: Slobodan Vujnovic   Homepage   France  
Date: Feb 24,2018 at 14: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:

PAS.BAT
ZTW.EXE C:\somedir\more\more\personal\secret\passwords.txt
TEL.BAT
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:

TEL2.BAT
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.

1,119 views      
Thread locked
 

Messages in this Thread

 
96,637 Postings in 12,231 Threads, 350 registered users, 63 users online (0 registered, 63 guests)
Index | Admin contact |   Forum Time: Mar 28, 2024 - 9:21 am UTC  |  Hits:62,361,316  (13,713 Today )
RSS Feed