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.

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.