I created a batch to run specific commands, the code looks like this:
cd D:\projects\Project Stress Test\signed one\com0com\x64
setupc
pause
what i want is to run the setupc file as an admin?
i tried runas /user:<Name>\administrator commands but it didnt work.
is there any easy way to do that?
You could make the entire script run at admin level. Here is a batch function I use in my scripts.