Have you tried this?
my $Result = Win32::AdminMisc::CreateProcessAsUser( "type c:\\autoexec.bat", "Flags", CREATE_NEW_CONSOLE, ...
(the name of the proccess is notepad.exe or notepad?)
In reply to Re: Create Process As User
by pvaldes
in thread Create Process As User
by gautamparimoo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |