Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.