Sunday, 15 March 2015

Copy files in a folder to another folder but only specified files, *.rar -



Copy files in a folder to another folder but only specified files, *.rar -

i need code works same way move function:

move "rar\*.rar" %rarfolder"

the folder rar contain more *.rar files, , don't want move files, want re-create files. how can that?

assuming have set rarfolder=_yourdestinationfolder_, try:

robocopy rar %rarfolder% *.rar

i prefer using robocopy, because allows more normal re-create / move commands.

batch-file copy paste

No comments:

Post a Comment