ZTree.com  | ZEN  | About...  

 Index   Back

[Bug] Issue with #ZTTools-Variable in F9 Menu   [Bug]

By: Liviu       
Date: Nov 29,2015 at 03:24
In Response to: [Bug] Issue with #ZTTools-Variable in F9 Menu (Thomas Salein)

Not going to argue what's ultimately a matter of personal preference, but since you asked...

> Sorry, that's not my philosophy. If you set #ZTTools
> to %#ZTHome%\.. you pack every tool in that parent directory?

Some, yes, mostly single-file tools like "rar.exe". Other multi-file packages, no. For example, I use "%#ZTTools%\eps\epsilon.exe" or simply "eps\epsilon.exe" to point to my favorite editor.

> Why can't ZTree firstly search in the #ZTTools directory, if unsuccessful, call
> the system path? That wouldn't touch your solution but enhance the possibilities.

If ZTree searched #ZTTools first, unconditionally, and if some tool existed *both* in #ZTTools *and* somewhere else in the %PATH%, then there would be no (easy) way to call the one in the %PATH%. The way it works now, if I enter it as "rar.exe" then ZTree looks for whatever "rar.exe" can find in the default path, otherwise if it's "%#ZTTools%\rar.exe" then it only uses the one in that specific location. That leaves the choice to me, and I appreciate having choices.

Cheers,
Liviu

390 views      
Thread locked
 

Messages in this Thread

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