How to filter between junk exe files and workable exe files

前端 未结 1 841
悲哀的现实
悲哀的现实 2021-01-29 12:08

I\'ve got all the exe files now but the thing is x.x it\'s giving me all the EXEs, and now I have to filter between executables which run the required app and all junk executabl

相关标签:
1条回答
  • 2021-01-29 12:39

    No, there's really no perfect way to do what you're trying to do; all executables are basically "created equal."

    What exactly do you hope to achieve, and why?

    Perhaps your goal is to show only executables that the user is likely to want to run? If that were your goal, your question could be: "How can I tell which executables the user has used before or is likely to directly invoke in the future?"

    If that was the question, then you could come up with a heuristic approach to try to solve the problem. Your algorithm could do things like look at the shortcuts on the desktop and Start menu, as well as the registry-based list of programs registered in AppPaths and similar locations to try to infer which executables are more or less likely to be run. It wouldn't be perfect, of course, but sometimes an imperfect approach is better than nothing.

    0 讨论(0)
提交回复
热议问题