Question

Batch file executed but access is denied

  • 29 August 2022
  • 1 reply
  • 14 views

Badge +7

I tried executing batch file

 

@echo off

title This is Batch script.

echo Welcome to batch scripting.

md test

pause

 

but i notice that the access is denied when the batch file is trying to create the folder test why is this happening and how to solve this? i'm using the open application/program to execute the batch file

 

note: when i double click the file it worked perfectly


1 reply

Can you try running the bot with admin privileges'

 

image

Reply