views:

2452

answers:

4

Does anyone know of a windows commmand-line ( available on XP Pro or later by default ) that could copy a file while showing progress. I do not care if the progress indicator is in a terminal or a GUI window.

This is intended to be used during batch file scripting

A: 

You could easily write a program to do that, I've got several that I've written, that display bytes copied as the file is being copied. If you're interested, comment and I'll post a link to one.

Josef
Yes, I know I could _write_ such a thing. The idea is to reuse any available resources and to simplify sharing of the script.
To be fair Gulzar, Josef was offering to send you one, and to send you his available resource to you for reuse. I suspect you stopped reading after 9 words.
harriyott
Any Josef, you could share those to the rest of the community :)
Fernando Barrocal
When I get home I'll dig them up and post a link here.
Josef
+6  A: 

robocopy.

Kent Boogaart
Close, but not available on XP y deafult. Though I will consider it.
+1  A: 

This technet link has some good info for copying large files. I used an exchange server utility mentioned in the article which shows progress and uses non buffered copy functions internally for faster transfer.

In another scenario, I used robocopy. Robocopy GUI makes it easier to get your command line options right.

Gulzar
A: 

Does not the xcopy command show progress? I don't have a Windows machine available to test, but I recall it being more verbose than the regular copy command.

dbr