On 8/10/2020 4:55 PM, Peter wrote:
> That's what I was thinking but was wondering if there's any other way. For example, if I were to use the Call command in batch file #1 to start batch file #2, is there any way to get the Call command to make batch file #2 to run as an administrator? Or something along those lines?
>
Another method is to define a Task Scheduler job with "highest
privileges" and "can run manually" to run the batch you want and then
run the TS job using SCHTASKS.EXE /RUN /TN "task name" in another batch.