I use this button:
<?xml version="1.0"?>
<button backcol="none" display="both" label_pos="right" textcol="none">
<label>Clear Attrib for Find</label>
<icon1>#cli</icon1>
<function type="batch">
<instruction>attrib -x -p -u -o {sourcepath}* /s /d</instruction>
<instruction />
<instruction>pause</instruction>
<instruction />
<instruction />
<instruction>// https://resource.dopus.com/t/i-have-a-folder-in-which-find-doesnt-work/40920/2</instruction>
<instruction />
<instruction />
<instruction>// https://ss64.com/nt/attrib.html</instruction>
<instruction />
<instruction>// -O Offline</instruction>
<instruction>// -P Pinned Attribute (Windows 10) This refers to the "Always available on this device" setting for OneDrive files.</instruction>
<instruction>// -U Unpinned Attribute (Windows 10)</instruction>
<instruction>// -X No scrub file attribute (Windows 8+)</instruction>
<instruction> </instruction>
<instruction>// /S Search the pathname including all subfolders.</instruction>
<instruction>// /D Process folders as well</instruction>
</function>
</button>