Removing the drive-letter (F:) from the UNC path and using the correct \ServerName\sharename should help.
I am having this Issue with Xcopy Command
Dear Community,
My XCOPY Script was running fine. I don't know why it's not running anymore and its giving me following error. Please guide me as why I could be facing this error. It's really annoying.
I have checked that the Fullpath is added and it's enclosed in commas etc. Also I have checked the Rights, there is no rights issue either. but still when I am running it gives Error.
Here is the screenshot:
Windows for home | Other | Security and privacy
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
10 answers
Sort by: Most helpful
-
-
Anonymous
2022-07-28T07:08:27+00:00 I am using the servername/drivename where i am copying.
What i am doing is that I am copying the data from NAS and pasting it on the local server's F Drive through XCOPY and I am running this xcopy from destination server where I want to copy the data. You can see that I have blurred that part from above picture. and I double quoted it as well but still no use.
-
Anonymous
2022-07-28T07:42:35+00:00 What do you mean REmoving the letter? I ahve already added the full path. please guide me.
-
Ramesh Srinivasan 173.9K Reputation points Volunteer Moderator2022-07-28T09:35:51+00:00 The destination path is invalid. I don't think you can access a drive-letter (F:) on a remote system like that. If that drive is shared, you got to use its share name instead.