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:

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.

338 views      
Thread locked
 

Messages in this Thread

 
94,424 Postings in 11,918 Threads, 348 registered users, 5 users online (0 registered, 5 guests)
Index | Admin contact |   Forum Time: Sep 16, 2019 - 8:58 am EDT  |  Hits:28,643,056  (729 Today )
RSS Feed