I am trying to copy a file to a folder using the following batch script
echo xcopy \\path1\file.txt \\path2\backup
However, I get the following error:
UNC paths are not supported. Defaulting to the windows directory.
Is there a simple solution for this?