I'd like to run a command in my batch file as an Administrator.
If this was linux, I'd have su -c ... or sudo to prompt me for a password to run as root. In Windows, I'm happy with the UAC dialogue, but how to make it happen in my .cmd file to elevate the privileges for that command only.
It doesn't seem right to have to run the entire batch file as administrator, by right-clicking etc.
[For what it's worth, the command is regasm, which quite rightly needs admin privileges.]