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... 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.
I assume 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), do I need to run it with poweshell, if so, how?