|Have you tried running as Administrator?|
Do you have access rights to the folder? Or is it replacing an old file?
If it's replacing one, you could add some code to the .bat file to grant yourself permission with CACLS:
CACLS C:\EXAMPLE /E /G "PC-USERNAME":F
SET /P Q=Please enter your PC USERNAME
CACLS C:\EXAMPLE /E /G %Q%:F
Either choose the file you are trying to overwrite, or the path of the FOLDER you are trying to write to. This will grant you full control.