-- data to search data = { 0xC3, 0x0F, 0x5F, 0x00 } str = GetDirectory("Select Directory...") n = 0 if str then hSearchHandle = InitFindFile(str .. "\\*.*") if hSearchHandle then FName = FindFile(hSearchHandle) while FName do off = SearchBytes(str .. "\\" .. FName, 0, data) if off != null then n = n + 1 -- print filename MsgBox(FName) end FName = FindFile(hSearchHandle) end end end MsgBox("Number of results: " .. n)