I set some post-build commands in Visual Studio 2017 that should allow me to run a program that I currently have in System32 (wsl.exe). However, Visual Studio doesn't see the program.
I tried to set the command to dir C:\Windows\System32\
to see all the files it could list, and in fact it doesn't list over a 1'000 files out of the around 4'600 files I have there, including the wsl.exe
file I'm trying to run. The number of files show up correctly when running the same command in the command prompt.
I've tried to run whoami
as the post-build command, and it returns the same user as if I run the same command in the command prompt.
Am I missing something?