Sign in to follow this  
Followers 0
pvr02

Copy data using robocopy with a progress bar

2 posts in this topic

I have a batch file that uses robocopy to copy files to a network share for backup purposes. The batch file works like a dream. I recently started using autoit and would like to use this to add the robocopy.exe and the batch file into a single file that can be run to do the backup.

However, I would like to have a GUI progress bar that would show how far along it is backing everything up. I have searched the boards and have found a few posts that talk about this, or using robocopy as an option, but I wasn't able to find anything that would create this progress bar.

Share this post


Link to post
Share on other sites



I have a batch file that uses robocopy to copy files to a network share for backup purposes. The batch file works like a dream. I recently started using autoit and would like to use this to add the robocopy.exe and the batch file into a single file that can be run to do the backup.

However, I would like to have a GUI progress bar that would show how far along it is backing everything up. I have searched the boards and have found a few posts that talk about this, or using robocopy as an option, but I wasn't able to find anything that would create this progress bar.

Fundamental issues

RunWait() has fired off a process. It will tell you when it's done, and your script is hung waiting for the return. To handle a progressbar, now you have to have a second program, watching the first, and doing something silly like looking at logfiles.

If you want more granularity than that, forget the external tool, and write the logic to perform the copies yourself.


Reading the help file before you post... Not only will it make you look smarter, it will make you smarter.

Share this post


Link to post
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
Sign in to follow this  
Followers 0