Quantcast
Viewing latest article 19
Browse Latest Browse All 43

Answer by Jeroen Wiert Pluimers for Show EXE file path of running processes on the command-line in Windows

PowerShell to the rescue.

First I used Get-Member to see what Get-Process could return:

PowerShell Get-Process ^| Get-Member

Then I filtered the Path from Get-Process to figure out which Spring.Tests processes were running:

PowerShell Get-Process Spring.Tests ^| Format-List Path

resulting in:

Path : C:\Users\Developer\Versioned\Spring4D\Tests\Bin\DelphiXE\Spring.Tests.exe

which is exactly the information I wanted.


Viewing latest article 19
Browse Latest Browse All 43

Trending Articles