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

조회 수: 2 (최근 30일)
Mohammad Reza
Mohammad Reza 2014년 9월 1일
답변: Mohammad Reza 2014년 9월 10일
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
Salaheddin Hosseinzadeh
Salaheddin Hosseinzadeh 2014년 9월 1일
I doubt if it has anything to do with MATLAB.
This is not a MATLAB related question by any means!

댓글을 달려면 로그인하십시오.

채택된 답변

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