Is it possible to have an ini setting to deactivate first creation and further update of the treeinfo.wc file so that the tree view can function on read-only media like CD-Roms and in some plug-ins also?
Is that possible or will it breach TC's functionality?
Edited: If it does, can TC be configured on those cases to write the .wc file, transparently from the user (or maybe not), on a writable media so that the tree view can function via a redirected treeinfo.wc file?
[Feat. Req.] Do not write treeinfo.wc on read-only media
Moderators: Hacker, petermad, Stefan2, white
- pdavit
- Power Member
- Posts: 1529
- Joined: 2003-02-05, 21:41 UTC
- Location: Kavala -> Greece -> Europe -> Earth -> Solar System -> Milky Way -> Space
- Contact:
[Feat. Req.] Do not write treeinfo.wc on read-only media
"My only reason for still using M$ Window$ as an OS is the existence of Total Commander!"
Christian Ghisler Rules!!!
Christian Ghisler Rules!!!
Don't know how TC it manages but I can use treeview on CD-Rom too. So what do you think is happening when using treeinfo on readonly media??
sheepdog
sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
- pdavit
- Power Member
- Posts: 1529
- Joined: 2003-02-05, 21:41 UTC
- Location: Kavala -> Greece -> Europe -> Earth -> Solar System -> Milky Way -> Space
- Contact:
I can use CD Tree (Alf+F10) over CD-Roms but not Tree View Mode ( Ctrl+F8 ). TC switches to the root of my D drive which is the second partition of my (single physical) hard disk drive.
Can you use Ctrl+F8 over read-only media? You said "I can" but ended your phrase with a "too".
> So what do you think is happening when using treeinfo on readonly media??
From your question I presume this does NOT work for you too.
From TC help:
After reading the directory structure, the tree is saved in the file treeinfo.wc in the root directory of the drive. Only this file is changed when you add and delete directories. This is much faster than rescanning the whole tree each time.
Hence, this is not possible on read-only media since the (hidden) treeinfo.wc file cannot be written on the root directory of a CD-Rom and I presume TC switches to the last accessed treeinfo.wc file.
Edited: It should be possible to use, for example:
c:\Documents and Settings\%user%\Application Data\GHISLER\
or the temp path:
c:\Documents and Settings\%user%\Local Settings\Temp\_tc\
or a user-definable folder in order to write that .wc file when TC trigger the access of a read-only drive and the activation of treeview.
Can you use Ctrl+F8 over read-only media? You said "I can" but ended your phrase with a "too".
> So what do you think is happening when using treeinfo on readonly media??
From your question I presume this does NOT work for you too.
From TC help:
After reading the directory structure, the tree is saved in the file treeinfo.wc in the root directory of the drive. Only this file is changed when you add and delete directories. This is much faster than rescanning the whole tree each time.
Hence, this is not possible on read-only media since the (hidden) treeinfo.wc file cannot be written on the root directory of a CD-Rom and I presume TC switches to the last accessed treeinfo.wc file.
Edited: It should be possible to use, for example:
c:\Documents and Settings\%user%\Application Data\GHISLER\
or the temp path:
c:\Documents and Settings\%user%\Local Settings\Temp\_tc\
or a user-definable folder in order to write that .wc file when TC trigger the access of a read-only drive and the activation of treeview.
"My only reason for still using M$ Window$ as an OS is the existence of Total Commander!"
Christian Ghisler Rules!!!
Christian Ghisler Rules!!!
The too meant I can it as well as for writable media.
I have in my left window my CD-Romdrive displayed in normal mode.
I switch to the right window by TAB.
I press [Ctrl]+ [F8] - and get the tree view of my CD-Rom in the right window.
I guess that TC only reads the info for treeview into memory. Thus it has to reread every time you access the drive.
With HD treeview you can delete a folder and the tree view will display it until you reread the treeinfo (At least with [Alt]+[F10] tree it works this way)
I tested just now: You have two TC instances. First instance dispays C:\ on the left and C:\ -Tree in the right.
switch to second Instance. Create a Folder 'AAAbsolutely sensless' and switch to first insatnce. On the left is the first folder 'AAAbsolutely sensless' on the right in the tree it is not visible (until you change the drive twice).
sheepdog
BTW Once I started an email request to @ghisler that the treeview everytime is displaying the C-drive regardless what drive I use

I have in my left window my CD-Romdrive displayed in normal mode.
I switch to the right window by TAB.
I press [Ctrl]+ [F8] - and get the tree view of my CD-Rom in the right window.
I guess that TC only reads the info for treeview into memory. Thus it has to reread every time you access the drive.
With HD treeview you can delete a folder and the tree view will display it until you reread the treeinfo (At least with [Alt]+[F10] tree it works this way)
I tested just now: You have two TC instances. First instance dispays C:\ on the left and C:\ -Tree in the right.
switch to second Instance. Create a Folder 'AAAbsolutely sensless' and switch to first insatnce. On the left is the first folder 'AAAbsolutely sensless' on the right in the tree it is not visible (until you change the drive twice).
sheepdog
BTW Once I started an email request to @ghisler that the treeview everytime is displaying the C-drive regardless what drive I use


"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
- pdavit
- Power Member
- Posts: 1529
- Joined: 2003-02-05, 21:41 UTC
- Location: Kavala -> Greece -> Europe -> Earth -> Solar System -> Milky Way -> Space
- Contact:
Actually my wish has already been implemented for the upcoming version of TC. Don't ask for more! I'm not allowed to speak!Sheepdog wrote:BTW Once I started an email request to @ghisler that the treeview everytime is displaying the C-drive regardless what drive I use![]()

"My only reason for still using M$ Window$ as an OS is the existence of Total Commander!"
Christian Ghisler Rules!!!
Christian Ghisler Rules!!!
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
To make it clear, tree view always shows the drive of the OPPOSITE panel, so you have to change drive in the other window! This odd behaviour comes from Norton Commander and was requested by many previous NC users...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- pdavit
- Power Member
- Posts: 1529
- Joined: 2003-02-05, 21:41 UTC
- Location: Kavala -> Greece -> Europe -> Earth -> Solar System -> Milky Way -> Space
- Contact:
Yes, that makes it clear! Didn't know that I almost never use the three view. Thanks!ghisler(Author) wrote:To make it clear, tree view always shows the drive of the OPPOSITE panel, so you have to change drive in the other window! This odd behaviour comes from Norton Commander and was requested by many previous NC users...
"My only reason for still using M$ Window$ as an OS is the existence of Total Commander!"
Christian Ghisler Rules!!!
Christian Ghisler Rules!!!