title: How to get the list of running processes including full file path?
body: <p>I use the JCL function <code>JclSysInfo.RunningProcessesList</code> to get the list of running processes. However, many of the returned processes consist only of the exe file names, while others contain the whole file path, for example:</p>
  
  <blockquote>
    <p>dopus.exe<br>
    C:\Program Files\Listary\Listary.exe<br>
    C:\Program Files (x86)\Direct Folders\df.exe<br>
    Everything.exe<br>
    etc...</p>
  </blockquote>
  
  <p>The code:</p>
  
  <pre><code>uses  
    ..., JclSysInfo;
  
  procedure GetRunningProcesses;  
  var  
    RunningProcesses: TStringList;  
  begin  
    RunningProcesses := TStringList.Create;  
    try  
      if JclSysInfo.RunningProcessesList(RunningProcesses, True) then  
        CodeSite.Send('RunningProcesses', RunningProcesses);  
    finally  
      RunningProcesses.Free;  
    end;  
  end;  
  </code></pre>
  
  <p>So how can I get the list of running processes where all processes have the full file path?</p>