Page 1 of 1

progress bar while copying (xcopy)

Posted: 07 Mar 2022 02:40
by v444
Hey guys,
can you please help me to add progress bar, or a percentage while copying files using xcopy.

Code: Select all

xcopy \\drive\tech\Install\Databases\Oracle\win32_11gR2_client C:\OracleTemp /e /y > nul

Re: progress bar while copying (xcopy)

Posted: 07 Mar 2022 07:46
by AR Coding

Re: progress bar while copying (xcopy)

Posted: 07 Mar 2022 08:36
by atfon
Is there any reason you just want to use xcopy for this? Robocopy has been a standard part of Windows since Vista and has a built in progress feature:

https://ss64.com/nt/robocopy.html

Re: progress bar while copying (xcopy)

Posted: 07 Mar 2022 10:17
by npocmaka_
for (big) single files

Code: Select all

esentutl /y "FILE.EXT" /d "DEST.EXT" /o
can be used.

Re: progress bar while copying (xcopy)

Posted: 31 Mar 2022 02:54
by jfl
I did not not about esentutl.exe, thanks for the tip.
But I just gave it a try, and (disappointingly) it does not work with network drives.
(Which is the main case for which I need progress bars: When copying big files back and forth between my laptop at home and servers in the office.)
The error says:
Operation terminated with error -1023 (JET_errInvalidPath, Invalid file path) after 0.219 seconds.