To build the code (for example, Windows 10 x64), run
$ dotnet build -r win10-x64
The executable then can be found at ./obj/netcoreapp2.0/win10-x64/host/gpcdir.exe
Get Process Current Dir By Its PID. https://stackoverflow.com/questions/16110936/read-other-process-current-directory-in-c-sharp
To build the code (for example, Windows 10 x64), run
$ dotnet build -r win10-x64
The executable then can be found at ./obj/netcoreapp2.0/win10-x64/host/gpcdir.exe
Get Process Current Dir By Its PID. https://stackoverflow.com/questions/16110936/read-other-process-current-directory-in-c-sharp