Skip to main content
Question

Batch file executed but access is denied

  • August 29, 2022
  • 1 reply
  • 196 views

Forum|alt.badge.img+8

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

Forum|alt.badge.img+5
  • Navigator | Tier 3
  • 43 replies
  • August 30, 2022

Can you try running the bot with admin privileges'

 

image


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings