There are numerous Stack Overflow questions that ask a variant of this question; I've read through the first 10 or so, and none held the answer to my problem.
I'm trying to run wt.exe
via command prompt.
wt
wt.exe
In both cases, it prints the error message:
The system cannot find the file C:\Users\MyUser\AppData\Local\Microsoft\WindowsApps\wt.exe.
It even does this if the current directory is C:\Users\MyUser\AppData\Local\Microsoft\WindowsApps
.
Clearly it is finding the file since it figures out its path from any working directory. I have permissions on my own user's AppData
, and--I checked--I have permissions on wt.exe
itself. I've also tried it running as Administrator with the same results. Even running it from wt
itself doesn't find it.
Running code-insiders
works fine, and it is also in AppData
. Running where wt
returns the correct path.
What's strange is this works on my other computers, and I think it was working on this one before and actually stopped (I hadn't used it in a couple months).
Any ideas?