Windows-based applications are usually developed based on the DLLs (Dynamic Link Libraries). These libraries will load into the memory when we run the EXE (Executable) file. Sometimes it is required to know the list of modules/DLLs loaded by the running executable. The following steps explain how we can see the list of modules used in EXEs.
This article applies to:
- Windows Operating System(s).
Step (1). Open the command prompt window.
Step (2). Type the below command at the command prompt. You can find more on this command in the “Windows : Display running processes from command prompt (using TASKLIST.EXE)“.
tasklist /m | more
Above command will display all currently running programs along with their modules.
Step (3). The command displays the list of running tasks page-wise (because we use more command to display the result page-wise). So you have to press the space bar to see the other tasks. The task name will display under the “Image Name” column and Process Id will display under the “PID” column. In the “Modules” column, it will display all the modules loaded by the particular task/EXE.