bool FindFile::IsExecutable() const { return (!IsDirectory()) && ((S_IXUSR|S_IXGRP|S_IXOTH) & GetMode());}
bool FindFile::IsExecutable() const { return ToLower(GetName()).EndsWith(".exe"); }
Report message to a moderator