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

1 view (last 30 days)
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
  1 Comment
Salaheddin Hosseinzadeh
Salaheddin Hosseinzadeh on 1 Sep 2014
I doubt if it has anything to do with MATLAB.
This is not a MATLAB related question by any means!

Sign in to comment.

Accepted Answer

Image Analyst
Image Analyst on 1 Sep 2014
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')

More Answers (1)

Mohammad Reza
Mohammad Reza on 10 Sep 2014
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.

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!