in reply to Re^2: Regarding Win32::API for CreateProcessAsUser
in thread Regarding Win32::API for CreateProcessAsUser

Hiding the window is simple

hide command prompt -> How to hide the command prompt open duing the execution of system command?

says use Win32::SetChildShowWindow(0);

  • Comment on Re^3: Regarding Win32::API for CreateProcessAsUser

Replies are listed 'Best First'.
Re^4: Regarding Win32::API for CreateProcessAsUser
by Yathin123 (Initiate) on Sep 19, 2016 at 08:03 UTC
    Thanks, my console is already hidden when I double click on the script it appears without any dos window in the backend, it only pops up when I hit the trigger button which has the psexe in the function.can you please help with CreateProcessAsUser I would wish to learn how to quarry dll functions and under stand it's usage.

      Thanks, my console is already hidden w

      Its to hide psexec popup

      can you please help with CreateProcessAsUser I would wish to learn how to quarry dll functions and under stand it's usage.

      If you really wish to learn, study the docs

        Thanks for your suggestions this really worked BEGIN {     Win32::SetChildShowWindow(0)         if defined &Win32::SetChildShowWindow; }