1.

Solve : Copy new files to new directory?

Answer»

Hi
I want to copy just new or modified files (xcopy dest1 dest2 /d) but I want to copy it, to another directory (dest3)
(my OS is win XP)
Someone can help?
Thanks
LT [smiley=beer.gif]LOOK at ROBOCOPY perhaps ... HTTP://www.ss64.com/nt/robocopy.html

Hope it's of some help to you.It,

Just in case you want to do this in PURE DOS look here:
[highlight]http://dostips.cmdtips.com/DtTipsCopy.php[/highlight]

SUMMARIZING you could do this:

for /f %%a in ('xcopy "%dest1%" "%dest2%" [highlight]/L[/highlight] /D /Y') do (
xcopy "%%a" "%dest3%" /Y
)


If you want to copy to dest2 and dest3 then remove the [highlight]/L[/highlight] option.
If you want to copy to dest3 only then keep the [highlight]/L[/highlight] option.

DOS IT HELP?



Discussion

No Comment Found