Jump to content

Run Command - Get status / get info / get progress


 Share

Recommended Posts

Hi

I have a command:

Run('"' & @ComSpec & '" /k ' &'robocopy "'&$DirFromFolder&'" "'&$DirToFolder&'" /E /Z /ZB /R:2 /W:1 /V /XD appdata',@WindowsDir,@SW_SHOW)

Now I would like to change the @sw_show to @sw_hide and get autoit to tell me how the progress is going (without the script pausing, I.E not runwait)

I have looked around for showing progress for the Windows robocopy command and it is not strait forward. I this possible.


I feel like I don't have the understanding of opt_flag's and this might be a answer. 

Also just knowing when the "run command" has finished would help (I.E msgBox when run command ends).

Edited by kingjacob90
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...