Question: access is denied batch file windows 10?
Answer: Click Start, and then click Windows Explorer.
Locate and then right-click the Cmd.exe file. ... 
Click Properties.
Click the Security tab.
Click Add.
In the Enter the object names to select box, type Batch, and then click OK two times.
Click Yes when you are prompted to continue.