Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a difference between these two lines?:

xcopy C:\source X:\destination /s /d
xcopy C:\source X:\destination /d /s

I've noticed that with the first one I also copy newer files in subfolder, with the second I don't. Only if the folder is newer then it's copied as well.

Can you confirm that the order on listing the option is important?

share|improve this question
could you give more details, for example, windows version you are using, etc ? – woliveirajr Jul 1 '13 at 13:24

No, the order of the options should make no difference.

In general the order is only important regarding source and destination, or input and output. Internally, the program would read all the options you put, enable the corresponding actions, and then performe all them at once.

share|improve this answer
Thanks a lot ! Means I need to experiment more! I'm trying to setup a backup with the task scheduler (windows 7); clearly I've done something not proper. Sergio – Sergio Jul 1 '13 at 13:28

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .