Searching for files hidden with Ghost Filter

Discuss and share scripts and script files...
Post Reply
o7blue
Posts: 84
Joined: 22 Dec 2020 07:10

Searching for files hidden with Ghost Filter

Post by o7blue »

When searching for files with quicksearch(), if the file was hidden with ghost filter, nothing will be found. Is there a way to search for these files without needing to turn off ghost filter?

Relevant chunk of code:

Code: Select all

    $tagFiles = quicksearch("folder.tags /f", , , "s");

    // Only process files where "folder.tags" itself is not part of the file name
    $tagFiles = regexmatches($tagFiles, "^.+\\folder\.tags$", <crlf>);
    end (!$tagFiles), "No folder.tags file(s) found, aborted!";

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: Searching for files hidden with Ghost Filter

Post by highend »

/af
One of my scripts helped you out? Please donate via Paypal

o7blue
Posts: 84
Joined: 22 Dec 2020 07:10

Re: Searching for files hidden with Ghost Filter

Post by o7blue »

Thanks!

o7blue
Posts: 84
Joined: 22 Dec 2020 07:10

Re: Searching for files hidden with Ghost Filter

Post by o7blue »

So I didn't get the expected results (nothing found). I also tried the 'Find Files' dialogue with the 'Find hidden' option selected, and it couldn't find the file when hidden with ghost filter. Is this working as intended?

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: Searching for files hidden with Ghost Filter

Post by highend »

Animation.gif
Animation.gif (560.15 KiB) Viewed 828 times
One of my scripts helped you out? Please donate via Paypal

o7blue
Posts: 84
Joined: 22 Dec 2020 07:10

Re: Searching for files hidden with Ghost Filter

Post by o7blue »

Still seem to be getting different results, XY 23.10

https://youtu.be/XnRanT7gzcE

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: Searching for files hidden with Ghost Filter

Post by highend »

I don't have time to try that on a 6 month old version. Try the current one
One of my scripts helped you out? Please donate via Paypal

o7blue
Posts: 84
Joined: 22 Dec 2020 07:10

Re: Searching for files hidden with Ghost Filter

Post by o7blue »

Geez, updating fixed it. That's what I get for thinking "surely that can't be it". Thank you for your patience highend.

btw where can I find other flags like /a and /f that can be used in strings? I've searching the scripting help menu but haven't found anything yet.

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: Searching for files hidden with Ghost Filter

Post by highend »

rtfm "idh_quicknamesearch.htm";
One of my scripts helped you out? Please donate via Paypal

kiwichick
Posts: 557
Joined: 08 Aug 2012 04:14
Location: Pahiatua, New Zealand

Re: Searching for files hidden with Ghost Filter

Post by kiwichick »

highend wrote: 18 Nov 2022 23:31 rtfm "idh_quicknamesearch.htm";
Oh wow, didn't know it was possible to open the help file at a specified location like that. Fantastic!!!!
Windows 10 Pro 22H2

Post Reply