|Ive written a batch file that will copy a file from a server to a bunch of user's computers and then set the permissions on that file. |
Ive gotten that to work, however the batch file must be run as admin on these user's computers. Im not sure if it must be run as admin because its a .bat file or because it sets permissions. Is a .bat like an .exe? Is that why the users can't run it, or is it because the .bat sets permissions on a file?
Either way, I need to find a way around this. If the problem is the setting of permissions, I guess I could make another batch file to run the first batch file as admin. Or is there a better way?
How do people usually run .bat files as admin?
thanks for your help!!!