Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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
Replies are listed 'Best First'.
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 wandering the Monastery: (9)
As of 2015-07-29 03:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (260 votes), past polls