I am not really sure about what you want to do, but you might be interested in the CreateProcessAsUser() function from Win32::AdminMisc by Dave Roth (see Win32 AdminMisc FAQ).
Christian Lemburg
Brainbench MVP for Perl
http://www.brainbench.com
In reply to Re: running perl scripts as admin
by clemburg
in thread running perl scripts as admin
by mbond
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |