windows - batch code to transfer all files and folder from location(s) -
i looking batch code transfer files inside folders. transfer them location.
d:\transfered files\
and keep exact folder/file names.
for example want transfered
c:\users\ c:\program files\
i have tried , works:
xcopy source destination /y
just save in batch file of course change directories see fit.
also note '/y' parameter says if files exist in destination overwrite them. if remove it, ask each file separately.
if think isn't enough can use robocopy:
robocopy source destination
again need change source , destination directories , put line in batch file.
i have used both , both works 100%. have windows 7 home premium 64x.
Comments
Post a Comment