Hi,
I want to get pid process running with the RunAs command:
RunAppUser=WshShell.Run("runas /user:" & user & " " & CHR(34) & applicationName & CHR(34), 2, FALSE)
I can with the exec command:
Set oExec = WshShell.Exec(applicationName)
Wscript.Echo "PID de l'aapli lancée: " & oExec.ProcessID
Thanks for your answers.
Frederic.
I want to get pid process running with the RunAs command:
RunAppUser=WshShell.Run("runas /user:" & user & " " & CHR(34) & applicationName & CHR(34), 2, FALSE)
I can with the exec command:
Set oExec = WshShell.Exec(applicationName)
Wscript.Echo "PID de l'aapli lancée: " & oExec.ProcessID
Thanks for your answers.
Frederic.