Any hint on how to retrieve a path from a process PID ? (Windows)

Started by fielder, March 06, 2025, 09:23:08

Previous topic - Next topic

fielder

As the tile says, i have to check a PID to identify where the exe launched is placed on disk.
any idea on how to do that directly on Blitzmax (if possible)
or alternatively launching an external process and grab the ouput.
very thank you!


fielder

already tried with

wmic process Where ProcessId="+id[index]+" get executablepath"

but launching too much istances the wmic trow and error about  "no more istances available"

fielder

my fault the process ended and still no more available ...  solved!