If you are using software someone else made (like XCOPY
) then the only easy route is to just end up being limited to whatever functionality was placed in there by the people who made that software. Workarounds may exist (like jorgediaz-lr's answer... another possibility may be to look at free space on the destination drive, if you know how much is going to be copied), but your easiest workaround may be to try using other software. Remember, XCOPY
was made in the days when having the /S
switch to include subdirectories was considered to be an advanced feature, because COPY
didn't have that ability.
In the spirit of considering the XY problem, I point out that in Windows 10, you can check out the built-in Robocopy
. (If you can't see the program running, Robocopy
also supports outputting to a log, which might be suitably helpful.)
I notice your /d
option to XCOPY
, which looks like is designed to just copy new files.
Although Robocopy
has some options starting with /I
to include some types of files, there isn't an option starting with /I
, for including just new files... instead, the option that accomplishes this basic tasks will be the one that specifies to exclude old files. (/XO
)
robocopy "F:\movies" "L:\movies" /XO
Avoid /NP
(show mp progress display), maybe use /ETA
(show estimated time of arrival).