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

2 Ansichten (letzte 30 Tage)
Mohammad Reza
Mohammad Reza am 1 Sep. 2014
Beantwortet: Mohammad Reza am 10 Sep. 2014
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 Kommentar
Salaheddin Hosseinzadeh
Salaheddin Hosseinzadeh am 1 Sep. 2014
I doubt if it has anything to do with MATLAB.
This is not a MATLAB related question by any means!

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Image Analyst
Image Analyst am 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')

Weitere Antworten (1)

Mohammad Reza
Mohammad Reza am 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.

Kategorien

Mehr zu Develop Apps Using App Designer finden Sie in Help Center und File Exchange

Tags

Noch keine Tags eingegeben.

Community Treasure Hunt

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

Start Hunting!

Translated by