How to clear MRUs in "Find Files" Dialog Box

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
PhiloVance
Junior Member
Junior Member
Posts: 25
Joined: 2012-07-28, 16:43 UTC

How to clear MRUs in "Find Files" Dialog Box

Post by *PhiloVance »

Is there a way to clear the MRU lists in the Find Files (cm_SearchFor) Dialog Box (that is, Search For:, Search In:, Find Text:)? Better yet, is there a way to prevent TC8.01 from keeping an MRU for these fields in the first place?

It's a privacy issue. If someone uses my machine after me, I'd rather they didn't know what I was searching for and where I was looking for it.

Thanks.
User avatar
Dalai
Power Member
Power Member
Posts: 10035
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Post by *Dalai »

Use Shift+Del on the expanded list(s) to clear single lines/terms, like in other programs like Firefox and so on. To clear the list completely, open the wincmd.ini in an editor (menu Configuration > Change Settings Files Directly) and look for the sections named [SearchName], [SearchIn] and [SearchText] and delete or clear them.

To prevent TC from saving a history, use RedirectSection on these sections and set a write protection on the target file. Example:

Code: Select all

[SearchName]
RedirectSection=history.ini
and then set read-only attribute on history.ini (or change NTFS permissions).

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
Vochomurka
Power Member
Power Member
Posts: 816
Joined: 2005-09-14, 22:19 UTC
Location: Russia
Contact:

Post by *Vochomurka »

Single user license #329241
PowerPro scripts for Total Commander
User avatar
Horst.Epp
Power Member
Power Member
Posts: 7024
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: MRUs in "Find Files" Dialog Box

Post by *Horst.Epp »

PhiloVance wrote:Is there a way to clear the MRU lists in the Find Files (cm_SearchFor) Dialog Box (that is, Search For:, Search In:, Find Text:)? Better yet, is there a way to prevent TC8.01 from keeping an MRU for these fields in the first place?

It's a privacy issue. If someone uses my machine after me, I'd rather they didn't know what I was searching for and where I was looking for it.

Thanks.
If your machine is not Windows XP there is no privacy problem
because every user can have its own login and TC settings.
The TC settings are protected by the file system rights of actual Windows versions.
PhiloVance
Junior Member
Junior Member
Posts: 25
Joined: 2012-07-28, 16:43 UTC

Post by *PhiloVance »

Thanks for the suggestions and links everyone.

I solved my problem by editing the history entries out of wincmd.ini and then making it Read-only. I have TC on 3 machines and I like it to look exactly the same every time I open it and on all 3. I already had all the checkboxes turned off for Save On Exit to accomplish this. This just completes the job.

Seems to work without any problems.
Post Reply