How do I copy a file from a remote desktop user's drive to my local machine using xcopy
or any other protocol?
My server path is \\\Trail01
and the file location is: C:\Users\ashique.sheikh\Desktop\Day2.R
How can I use this is in my batch file?
I have tried this:
net use "\\\Trail01" "Trail01@1234" "/USER:ashique.sheikh"
XCOPY /Y \\\Trail01\c:\users\ashique.sheikh\Desktop\Day2.R "D:\VMI"
But it doesn't work, it gives a path error.
How can I download this or is there any other way to do it?