ZTree.com  | ZEN  | About...  

 Index   Back

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

By: Liviu       
Date: Nov 29,2015 at 08: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

1,061 views      
Thread locked
 

Messages in this Thread

 
96,637 Postings in 12,231 Threads, 350 registered users, 92 users online (0 registered, 92 guests)
Index | Admin contact |   Forum Time: Mar 28, 2024 - 8:14 pm UTC  |  Hits:62,378,658  (31,055 Today )
RSS Feed