New
#1
How to run batch file with powershell
I created a basic batch file that uses "net share" to share a local path. I saved the batch file. When I double click the file I get "access is denied"... note, I am logged on as a admin.
Anyways... I figure it has to be run using power shell. I do not know much about powershell. Can anyone tell me how I can run this batch file (by double clicking on the icon) using power shell?
Thank you
edit.... if I right click the file and click "run as administrator" it runs fine. I want the ability to just double click it and execute.