How to use xcopy with relative paths? [closed]

Ensure you are using backslash and not forward slash as in your example.