Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 about the Monastery: (14)
As of 2014-12-19 16:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (88 votes), past polls