I am trying to write a program, for practice, similar to the task manager, that lists running process, and their path if possible. I have spent hours all over Google and I can't find anything. Ideally, it would be nice to put the processes and their paths into an array, in this format:
list[0] = "C:\Game.exe";
list[1] = "C:\MusicPlayer.exe";
list[2] = "C:\Calculator.exe";
Any ideas?