Quote:
Originally Posted by psom
When trying to execute the patch I keep getting the error: cannot find C:\Windows\System32\3.17.0_source. Killing me because I've done this before.
EDIT: When I ran the batch file normally, NOT as an ADMIN, it worked properly.
|
You might want to try adding CD %~DP0 at the start of the batch file to force a change to the directory the batch file was started from.
Code:
@ECHO off
cd %~DP0
REM ---------- set project name
When you started the batch file using "run as adminstrator", the start directory would be Windows\System32 so we need to change it to the directory the batch file was launched from. Let me know if this works for you.