Total Commander is NOT Windows.

English support forum

Moderators: Hacker, petermad, Stefan2, white

Fduch
Junior Member
Junior Member
Posts: 5
Joined: 2006-11-07, 00:21 UTC

Total Commander is NOT Windows.

Post by *Fduch »

Total Commander is obviously NOT Windows.
Then why does it try to sneak its files inside the Windows' own dir? At least put them in your own folder in Program Files.

I've just installed Total Commander again. And I cannot even set my preferences to show hidden files because someone thout that the best place to store configs is Windows dir. What about writing them to the boot sector or MBR for a change?

P.S. It's even more fun when you also don't have internet access.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 7002
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Total Commander is NOT Windows.

Post by *Horst.Epp »

Fduch wrote:Total Commander is obviously NOT Windows.
Then why does it try to sneak its files inside the Windows' own dir? At least put them in your own folder in Program Files.

I've just installed Total Commander again. And I cannot even set my preferences to show hidden files because someone thout that the best place to store configs is Windows dir. What about writing them to the boot sector or MBR for a change?

P.S. It's even more fun when you also don't have internet access.
What about reading the help first before crying.
This is stored on your PC, no Internet access needed.
There are command line options and config options to read the ini files from any place or the programs directory.
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

This has been discussed many times but never been solved completely. Why is the default WRITE location still the Windows directory?

On Vista the appdata dir is set in the registry.
On 2000 and XP it's still the Windows dir.

Again - a new default ini write dir would't break compatibility at all. TC would start its searches for its ini file in the same way as now. But when trying to save a setting and no location has been defined yet TC would use the new location.
User avatar
Hacker
Moderator
Moderator
Posts: 13142
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Fduch,
Then why does it try to sneak its files inside the Windows' own dir?
Because you told it to do so during installation?

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
Hacker
Moderator
Moderator
Posts: 13142
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

[mod]Moved to the English forum.

Hacker (Moderator)[/mod]
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

Really? There is a huge difference between a (not automatically displayed) pseudo-default and a user-defined pseudo-location.
It's really shitty :-(
VSB
Member
Member
Posts: 136
Joined: 2006-12-12, 12:02 UTC
Location: Russia

Post by *VSB »

I think, that in all systems INI must be in user's or all users APPDATA folder.
User avatar
Mikefield
Power Member
Power Member
Posts: 628
Joined: 2006-02-26, 19:13 UTC
Location: Oberursel, Germany HE

Post by *Mikefield »

VSB wrote:I think, that in all systems INI must be in user's or all users APPDATA folder.
Never ever! When the system partition is lost, the ini's are also done.
The ini's place must be in the TC program dir. :)
And now we have a new discussion about the ini's .... I hope not.

It's not possible to support every users sugestions and opinions.
So long as it is possible to decide where the ini should be located,
so long will we have the discussion about it.

I think the solution how it Opera use is OK:
In singleuser mode the profile is in the Opera programm dir,
in multiuser mode the profile is in the users %APPDATA%

mf
Bankster - Word of the Year 2009
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2Mikefield
This is about the default. Noone requests to make appdata the one and only possibility. So a solution must be found which WORKS for all users out of the box.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50768
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This has historical reasons: The functions WritePrivateProfileInt/String used for saving settings write to the Windows directory when no directory name is explicitly specified. Therefore almost all programs stored their settings in the Windows directory. This was kept in later versions for compatibility reasons, but the user can now choose a different location during installation.
Author of Total Commander
https://www.ghisler.com
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2ghisler(Author)
What you write is true and well known.

But please also comment on my suggestion.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50768
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I changed the default on Vista because there the Windows dir is always write-protected. Since most users work as admin or power user on in XP, the windows dir is writable for them. People who explicitly choose to work as a restricted user normally know what they are doing, and will therefore pay attention to the location of the settings files.
Author of Total Commander
https://www.ghisler.com
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

You didn't change the default on Vista. You just set a registry entry to appdata. That's not a default.
I wonder why you think that 2000 / Vista users don't work as restricted. Even if they care it would be better if they wouldn't have to care. Would't it be great if something works out of the box?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50768
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I did change the default directory set by the installer on Vista. I didn't change the default used when no registry entry is there, I don't think that this would be such a good idea...
Author of Total Commander
https://www.ghisler.com
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

I'm talking exactly about the situation when there is no registry key at all. Can you explain why writing to appdata by default isn't a good idea?
Post Reply