Click here to Skip to main content
15,886,059 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello

I want to check supporting files of any .exe in windows OS. Like if any .exe program save some info in c:/abc/abc then how get this location.
Posted

1 solution

There is no such concept as "supporting files". Any application can use any files, depending on the permissions of the parent process and optional permission elevation. At best, you can manually search the executable directory, system registry and "special folders" and take a guess. Also, during operation, you can spy on file handles using some system utility or the utility you may want to develop. I'm afraid you cannot get 100% guarantee. Only the code of the application tells exactly what it can do.

—SA
 
Share this answer
 
Comments
Afzaal Ahmad Zeeshan 13-May-15 12:57pm    
+5, exactly. Only the code of the application can actually tell what is being done under the hood. Not all applications require a back-end library or assembly.
Sergey Alexandrovich Kryukov 13-May-15 14:27pm    
Thank you, Afzaal.
—SA
Abhilask kumar 13-May-15 13:18pm    
Ok and can i find registry of .exe.
Sergey Alexandrovich Kryukov 13-May-15 14:27pm    
So what? The application may not use any registry entries, which would be perfectly fine and even very good. I explained some ideas for heuristic approach. There is no any other ways.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900