is a robocopy graphical progress bar possible?

  • Thread starter Thread starter Mike Brearley
  • Start date Start date
M

Mike Brearley

So, how long has this tool been included with Windows?

I found it while looking for a very simple way to sync data between a local
'My Documents' folder and a network backup location (for laptop users that
need their data on their PC at all times).

I'm using a very simple... ROBOCOPY source destination /MIR /PURGE

Now, I'd like to be able to include some sort of graphical window for my
users. Something with a, "Please wait while your data is synchronized" and
a progress bar that shows the user approximately how much time remains. Any
idea how I could do this? Maybe getting a list of what needs to be copied
first, then starting the copy? Any help would be greatly appreciated. I've
dabbled in vb code before, but very little.

--
Posted 'as is'. If there are any spelling and/or grammar mistakes, they
were a direct result of my fingers and brain not being synchronized or my
lack of caffeine.

Mike Brearley
 
Mike Brearley said:
So, how long has this tool been included with Windows?

I found it while looking for a very simple way to sync data between a
local 'My Documents' folder and a network backup location (for laptop
users that need their data on their PC at all times).

I'm using a very simple... ROBOCOPY source destination /MIR /PURGE

Now, I'd like to be able to include some sort of graphical window for my
users. Something with a, "Please wait while your data is synchronized"
and a progress bar that shows the user approximately how much time
remains. Any idea how I could do this? Maybe getting a list of what
needs to be copied first, then starting the copy? Any help would be
greatly appreciated. I've dabbled in vb code before, but very little.

--

If nothing else, I would like to have the window give the user the ability
to cancel the process in case they are in a hurry and don't feel like
waiting.

--
Posted 'as is'. If there are any spelling and/or grammar mistakes, they
were a direct result of my fingers and brain not being synchronized or my
lack of caffeine.

Mike Brearley
 
Mike Brearley said:
So, how long has this tool been included with Windows?

I found it while looking for a very simple way to sync data between a
local 'My Documents' folder and a network backup location (for laptop
users that need their data on their PC at all times).

I'm using a very simple... ROBOCOPY source destination /MIR /PURGE

Now, I'd like to be able to include some sort of graphical window for
my users. Something with a, "Please wait while your data is
synchronized" and a progress bar that shows the user approximately how
much time remains. Any idea how I could do this? Maybe getting a
list of what needs to be copied first, then starting the copy? Any
help would be greatly appreciated. I've dabbled in vb code before,
but very little.


As I recall, robocopy was part of the Resource Kit. So if you have it
then you installed some of the Resource Kit. That also means that
normal users won't have it available unless they also install that part
of the Resource Kit. Because it is installed as part of the Resource
Kit, and since the Resource Kit's install path is not added to the
system or user PATH environment variables by default, those users where
you install it would need to specify the full path to the executable.
Just because you have the program doesn't mean your users will. Do you
have a license to redistribute some or all of the Resource Kit to all of
your users (I don't have the full Resource Kit to see what its license
says)? I did not see robocopy.exe included at
ftp://ftp.microsoft.com/ResKit/win2000/ so it might not be a
redistributable part of the Resource Kit.

Have you looked at what command-line switches are available for robocopy
(by running "robocopy /?")? Looks like the /V or /ETA switches might
provide progress metering.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top