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

2 visualizzazioni (ultimi 30 giorni)
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 Commento
Salaheddin Hosseinzadeh
Salaheddin Hosseinzadeh il 1 Set 2014
I doubt if it has anything to do with MATLAB.
This is not a MATLAB related question by any means!

Accedi per commentare.

Risposta accettata

Image Analyst
Image Analyst il 1 Set 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')

Più risposte (1)

Mohammad Reza
Mohammad Reza il 10 Set 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.

Categorie

Scopri di più su Develop Apps Using App Designer in Help Center e File Exchange

Tag

Non è stata ancora inserito alcun tag.

Community Treasure Hunt

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

Start Hunting!

Translated by