When running a batch as a post-build event from VS, some of my folders become invisible to the command line. The error log and output logs are nondescript.
In my subsequent batch, I cannot access SCP (System32\OpenSSH\scp.exe)
Build event:
IF NOT DEFINED PUBLISHING (
set PUBLISHING ='ON'
call "$(ProjectDir)Publish.bat"
PUBLISHING=
)
Changing call
to start
, a cmd window pops up and I have checked my variables and poked around in the environment.
- Username is correct
- The window is running as Admin (for other reasons)
PATH
is fine (and shouldn't have anything to do withcd
to begin with)
When poking around, if I try to change directories, it claims that System32\OpenSSH
doesn't exist!
(Absolute path truncated)
What can System folders to not be accessible to an admin?