Make 'Directory Tree' Updateable By All Users

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Phred
Senior Member
Senior Member
Posts: 382
Joined: 2009-06-16, 15:24 UTC
Location: SEAu

Make 'Directory Tree' Updateable By All Users

Post by *Phred »

I maintain that for administering, users should be logged on as administrators, and that for normal every-day use of an OS, users should be logged on as standard users.

TC's 'Directory Tree' function doesn't appear to work well for standard users: it is impossible to 're-scan' the entire directory tree, via F2. The panel just "flashes".
I suggest that Alt-F10, Re-scan be re-thought.

Writing a reference file like Treeinfo.wc [wc??] into the root '\' is such an ancient practice, is it not? Wouldn't c:\Users\Public\AppData\Local\TC serve equally as well?
(Assuming everyone can write to and read from there.)

2. We've never had a (flashing) cursor/insertion point in the typing field. I add that as a suggestion, too.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50873
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

You can control it with these keys:

TreeFileLocation=
Define different location of files treeinfo.wc, e.g. treefilelocation=c:\somedir\treeinfo%D%.wc
%D% is replaced by the drive letter (or root of share, \ replaced by _)
%R% is replaced by the root path
%L% is replaced by the volume label.
Please note that these variables MUST be uppercase, otherwise TC will look for the environment variables with these names!

TreeFileLocationE=
Sets location of treeinfo file only for drive E. Only works if treefilelocation= is set too!
TreeFileLocation__server_share=
Sets location of treeinfo file only for drive \\server\share (treefilelocation= MUST be set too).

Maybe I should change the defaults? But to what values?
Author of Total Commander
https://www.ghisler.com
Phred
Senior Member
Senior Member
Posts: 382
Joined: 2009-06-16, 15:24 UTC
Location: SEAu

Surprise

Post by *Phred »

Ah, another pleasant surprise.

Wouldn't
c:\Users\Public\AppData\Local\TC\
be a suitable location, Mr G? Accessible to/by all?

In your description you introduce %R% and %L% without any prior referent.
To what do they refer?

Could we have examples in Help?

(Don't forget a cursor..)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50873
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

It's all described in my post - %R% is replaced by the root path, e.g. for shares, and %L% by the volume label.

The main problem with using a fixed location exists when you use removable disks, e.g. USB harddisks or DVD-RAM, where each medium would have to have its own tree...
Author of Total Commander
https://www.ghisler.com
Phred
Senior Member
Senior Member
Posts: 382
Joined: 2009-06-16, 15:24 UTC
Location: SEAu

7.57b? Mini-App Required

Post by *Phred »

It seems that some form of specificity regarding placement of treeinfoX.wc has been implemented in TC8. And it's automatic; just happens.

A limited user can force a rescan of the drive tree in TC8.

Any chance this capability can be slipped into 7.57a? 7.57b?


A makeover of 'CD Tree', or 'Directory Tree', to become a modern mini-app would be welcome, so that change drive within the dialog is allowed, a cursor is placed in the text field, and the F2 control becomes a standard GUI button.
But that probably needs a separate thread.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50873
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Sorry, these are just bugfix versions - there will be no new feature in TC 7.5x so people can update without worrying about unwanted features. There is already a mechanism you can use (treefilelocation), see above.
Author of Total Commander
https://www.ghisler.com
Post Reply