User Input History File Locations

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
zorg
Junior Member
Junior Member
Posts: 13
Joined: 2017-07-14, 03:05 UTC

User Input History File Locations

Post by *zorg »

Hello -

Where can I find the history/archive files containing the most-recent-user-input histories for total commander?

By most-recent-user-input histories, I mean the lists of recent user inputs that total commander populates in tools such as the Multi-Rename tool [Ctrl-M] and the Show > Custom [Ctrl-F12] filter.

I'd like to access this data in txt (or similar) format to collect filter stings I've been using.

Thanks!
User avatar
oOoZEUSoOo
Junior Member
Junior Member
Posts: 56
Joined: 2021-07-09, 18:26 UTC
Location: France

Re: User Input History File Locations

Post by *oOoZEUSoOo »

2zorg
Hi,
All those informations are saved in the file named 'wincmd.ini' if I'm not wrong.
This file is stored either in the path of the total commander main program, either in %APPDATA%\GHISLER (c:\Users\<user name>\AppData\Roaming\GHISLER\ (or in the registry, according of your choice at installation of total commander)
Be aware that the AppData folder is hidden but since total commander 10, it is shown.

In the Help/About section you can see where your ini files are saved.
You can edit configuration files directly going to the menu 'Configuration/Change Setting Files Directly'.

If I may, I recommand you to use the very good utilities 'Ultra TC Editors' from Taher Salem. With those utilities you'll be able to manage total commander configuration easily.

Best regards, Frederic.
Registered User. Total Commander : The best file manager...
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: User Input History File Locations

Post by *petermad »

2zorg

As oOoZEUSoOo points out that information is found in TC's wincmd.ini file.

The sections that hold history-like information are these:
[ButtonbarCache]
[attrplugin]
[rename]
[SyncOptions]
[Selection]
[SearchName]
[SearchIn]
[SearchText]
[RenameTemplates]
[RenameSearchFind]
[RenameSearchReplace]
[left]
[right]
[lefttabs]
[righttabs]
[activetabs]
[LeftHistory]
[RightHistory]
[PluginDuplicates]
[DirSelection]
[Command line history]
[MkDirHistory]
[NewFileHistory]
[TargetList]
[LastTracks]

Multi-Rename tool [Ctrl-M] parameters are stored in [rename], [RenameTemplates], [RenameSearchFind] and [RenameTemplates] sections

Show > Custom [Ctrl-F12] filter parameters are found in [left] and [right] sections

You can redirect all of these sections to a separate file, by redirecting each section like this:
[attrplugin]
RedirectSection=history.ini
[rename]
RedirectSection=history.ini
[SyncOptions]
RedirectSection=history.ini
.
.
etc.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
HerbieH
Member
Member
Posts: 145
Joined: 2003-02-11, 10:04 UTC

Re: User Input History File Locations

Post by *HerbieH »

2petermad.

I don't have [SearchText] in my 'wincmd.ini' file.
Maybe because, I haven't used this function in TC yet. :?

However, I have another entry, you didn't mention, called: [searches]
Maybe [searches] is an outdated entry, which is now replaced with something else in more recent versions of TC ?

Btw. I am using the correct 'wincmd.ini' file according to the information in Help / About Total Commander .. and nothing has been redirected.
I use TC10 final version on Windows 8.1 which runs flawlessly. :D
Last edited by HerbieH on 2021-07-12, 04:18 UTC, edited 1 time in total.
HerbieH*
-Keep on makin' music!
zorg
Junior Member
Junior Member
Posts: 13
Joined: 2017-07-14, 03:05 UTC

Re: User Input History File Locations

Post by *zorg »

Thanks for the replies!

For the Multi-Rename Tool histories, these two sections were most useful for what I was looking for:
RenameSearchFind
RenameSearchReplace

For the Custom Filter, this applied most directly:
Selection

petermad, as you suggested, the RedirectSection=filename.ini entry in wincmd.ini did in fact work. I tried it with an arbitrary filename (foo.ini): edited wincmd.ini, restarted TC, then entered a new filter. The new filter entry was indeed redirected to that file.
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: User Input History File Locations

Post by *petermad »

2HerbieH
Maybe [searches] is an outdated entry, which is now replaced with something else in more recent versions of TC ?
No, Searches is not outdated, I just don't consider it a history section - it holds the searches that you save in the "Find Files" dialog (Alt+F7) in the tab called "Load/Save".

The entries in the Searches section can be used many places in TC, so it is not something you discard, as you might do with other settings.
Last edited by petermad on 2021-07-14, 11:14 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
HerbieH
Member
Member
Posts: 145
Joined: 2003-02-11, 10:04 UTC

Re: User Input History File Locations

Post by *HerbieH »

2petermad.

ThankU for info 👍 :D
HerbieH*
-Keep on makin' music!
Post Reply