Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Create Process As User

by pvaldes (Chaplain)
on Mar 09, 2012 at 19:37 UTC ( #958784=note: print w/ replies, xml ) Need Help??


in reply to Create Process As User

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?)


Comment on Re: Create Process As User
Download Code
Re^2: Create Process As User
by Anonymous Monk on Mar 12, 2012 at 07:34 UTC

    Its giving error as Incorrect function

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://958784]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (11)
As of 2014-08-22 16:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (161 votes), past polls