0

My question is basically the same as this one except I have a list of 370 files that have to be copied from source to destination.

So my initial directory looks like

folder1
  folder2
    folder3
      data.zip
      info.txt
      abc.xyz
    folder4
    folder5
      data.zip
      somefile.exe
      someotherfile.dll

and the destination should look like

copy_of_folder1
  folder2
    folder3
      data.zip
      info.txt
    folder4
    folder5
      data.zip

only it's not just data.zip and info.txt there are 370 files, if I type them all in it exceeds the command line length I tried using a RCJ file like so:

ROBOCOPY A:\ B:\ /JOB:thejob

I wrote this in thejob.rcj

/IF       :: Include Files matching these names
a.jar
b.jar
c.jar
d.jar ...

But it doesn't work. Doesn't give me an error, but doesn't copy anything.

2
  • "Doesn't work" in what way? Does it give you an error? If so, what is it? Jan 21, 2016 at 19:05
  • @Ƭᴇcʜιᴇ007 doesn't give me an error, but it doesn't copy anything
    – Para
    Jan 22, 2016 at 7:21

0

You must log in to answer this question.

Browse other questions tagged .