Search & IgnoreListFileEnabled=1

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Galizza
Senior Member
Senior Member
Posts: 210
Joined: 2018-09-07, 05:21 UTC

Search & IgnoreListFileEnabled=1

Post by *Galizza »

 
Using IgnoreListFileEnabled=1 C:\ProgramData\ is not shown on my list of
directories, that's ok. I want to know if it is by design that when searching
in C:\ for a file that it's inside C:\ProgramData\Microsoft\Windows\
this file is not found ?
And if is it by design, is there any setting in search to find files inside directories that exist in ignored.txt when IgnoreListFileEnabled=1 ?, thanks

Tc 10.52 x32 Windows 10
User avatar
Horst.Epp
Power Member
Power Member
Posts: 7012
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Search & IgnoreListFileEnabled=1

Post by *Horst.Epp »

That has nothing to do with the ignore list.
There is no default ignore list which contains C:\ProgramData.
This directory has the hidden attribute and is by default therefore not shown in TC.
You have to enable "Show hidden files" under Confguration / Display
Windows 11 Home, Version 24H2 (OS Build 26100.4351)
TC 11.55 RC7 x64 / x86
Everything 1.5.0.1395a (x64), Everything Toolbar 1.5.5.0, Listary Pro 6.3.2.88
QAP 11.9.0.4 x64
User avatar
Galizza
Senior Member
Senior Member
Posts: 210
Joined: 2018-09-07, 05:21 UTC

Re: Search & IgnoreListFileEnabled=1

Post by *Galizza »

Horst.Epp wrote: 2022-10-30, 08:56 UTC That has nothing to do with the ignore list.
There is no default ignore list which contains C:\ProgramData.
This directory has the hidden attribute and is by default therefore not shown in TC.
You have to enable "Show hidden files" under Confguration / Display
 
It's related with ignored list because "Show hidden files" is always enabled on my wincmd.ini and C:\ProgramData\ is inside ignored.txt that is a list of directories & files created by me, directories on this list aren't shown when IgnoreListFileEnabled=1.

Anyway, i solved with a script that set IgnoreListFileEnabled=0 before launch search and return its value to 1 when search is finished, thank you.
 
User avatar
petermad
Power Member
Power Member
Posts: 16115
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Search & IgnoreListFileEnabled=1

Post by *petermad »

Anyway, i solved with a script that set IgnoreListFileEnabled=0 before launch search and return its value to 1 when search is finished, thank you.
yos can also just use the combined command:

Code: Select all

cm_SwitchIgnoreList 2,cm_SearchFor,cm_SwitchIgnoreList
in a button or in an em_command
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Galizza
Senior Member
Senior Member
Posts: 210
Joined: 2018-09-07, 05:21 UTC

Re: Search & IgnoreListFileEnabled=1

Post by *Galizza »

petermad wrote: 2022-10-30, 17:54 UTC yos can also just use the combined command:

Code: Select all

cm_SwitchIgnoreList 2,cm_SearchFor,cm_SwitchIgnoreList
in a button or in an em_command
 
Your knowledge about Tc is fantastic, BTW thank you very much for your extended menus :!:
Post Reply