Windows batch file starting directory when ‘run as admin’
Try to access the batch files path like this: echo %~dp0 For more information see the following quote from the command for /? that describes how the above command works: You can now use the following optional syntax: %~I – expands %I removing any surrounding quotes (“) %~fI – expands %I to a fully qualified … Read more