Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 surveying the Monastery: (8)
As of 2014-07-11 01:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (217 votes), past polls