Yes.

Make sure that your batch file starts with a command which does a CD to the correct directory, because the steps below are going to mess up the starting "current" directory of the batch file.

Create a Windows Desktop Shortcut which points to your batch file.

In the PROPERTIES of that shortcut, press the ADVANCED button.

Tick the "Run As Administrator" tickybox and save the properties.

Now if you run that batch file by clicking on that shortcut, it will run with administrator privileges (and probably pester you about such, each time you run it).

There are ways to work around the pester box if you want that too.



Edited by tfabris (27/02/2016 01:25)
_________________________
Tony Fabris