Can I find the program associated with a .exe file?

2 次查看(过去 30 天)
I have an application called BeLT that logs the keystrokes and mouse actions.It also saves the name of the .exe file related to the programs that have been executed,for example "chrome.exe" for "google chrome".
I need to find the application related to any .exe file stored. For example if I have "chrome.exe" then I find the program associated with this exe file i.e. google chrome.
Is there anyway to do that using a matlab code or any other code or toolbox that can be linked to a matlab code? E.g. I may need a conncetion from my code to the internet and a search engine to find the program associated with the .exe filename.
Thanks

采纳的回答

Image Analyst
Image Analyst 2014-9-1
No, I don't think you can do that. I can call my app whatever I want and that is different than the name of the executable. If I call my executable myApp.exe, but refer to it everywhere else (e.g. in documnetation, the title bar, etc.) as "IA's app" there is no way to know that from simply the executable filename. On the other hand if you have some non-exe filename and want to know what application is associated with that extension, you can do that by looking in the Windows registry.
% Find out program associated with .docx extension
registryKeyValue = winqueryreg('HKEY_CLASSES_ROOT', '.docx')

更多回答(1 个)

Mohammad Reza
Mohammad Reza 2014-9-10
Thanks.
The filenames come from different machines.I think I have no choice but to create a database of file names and manually search them.

类别

Help CenterFile Exchange 中查找有关 Develop Apps Using App Designer 的更多信息

标签

尚未输入任何标签。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by