Try mounting your remote drive locally first:
net use x: \\Server_Name\C$
Then try copying the files from X:
instead:
xcopy x:\folder_X\folder_Y c:\Users\folder_Z ...
To unmount:
net use x: /delete
Related Posts:
- What does %~dp0 mean, and how does it work?
- What does %~dp0 mean, and how does it work?
- Rainbow Matrix CMD
- How to capture cURL output to a file?
- Color echo in batch files
- How Should I Set Default Python Version In Windows?
- How can I pass arguments to a batch file?
- What is the current directory in a batch file?
- Batch file to copy directories recursively
- How to change current working directory using a batch file
- Split text file into smaller multiple text file using command line
- Command Prompt Error ‘C:\Program’ is not recognized as an internal or external command, operable program or batch file
- Batch file to copy files from one folder to another folder
- How do I execute cmd commands through a batch file?
- wget not recognized as internal or external command
- How to fix “ERROR: The system was unable to find the specified registry key or value.” when running a batch file
- What does “@” mean in Windows batch scripts
- ” is not recognized as an internal or external command, operable program or batch file
- ‘adb’ is not recognized as an internal or external command, operable program or batch file
- Create an empty file on the commandline in windows (like the linux touch command)
- How to solve “The directory is not empty” error when running rmdir command in a batch script?
- How do I create a Batch file to change an exe installer to Win XP SP3 compatibility mode and launch installer
- ” is not recognized as an internal or external command, operable program or batch file
- Difference between xcopy and robocopy
- How to “comment-out” (add comment) in a batch/cmd?
- Bat file to run a .exe at the command prompt
- Batch script loop
- “npm config set registry https://registry.npmjs.org/” is not working in windows bat file
- Windows Activation Batch (.cmd File
- Moving file using cmd?
- How to “comment-out” (add comment) in a batch/cmd?
- “if not exist” command in batch file
- Defining and using a variable in batch file
- Sleep/Wait command in Batch
- How to run PowerShell in CMD
- xcopy returns error “Invalid number of parameters” when exclude parameter is set
- While loop in batch
- XCOPY: Overwrite all without prompt in BATCH
- Curl not recognized as an internal or external command, operable program or batch file
- Redirecting Output from within Batch file
- How to send a simple email from a Windows batch file?
- How can I run a program from a batch file without leaving the console open after the program starts?
- How to sleep for five seconds in a batch file/cmd
- What does /p mean in set /p?
- Run a batch file with Windows task scheduler
- False ‘Sharing Violation’ Xcopy error message
- batch file from scheduled task returns code 2147942401
- How does the echo command works in batch programming
- In Windows cmd, how do I prompt for user input and use the result in another command?
- CALL command vs. START with /WAIT option
- How can I download a file with batch file without using any external tools?
- BAT file to map to network drive without running as admin
- Need auto-restart script in batch for minecraft server
- How to use random in BATCH script?
- Windows batch – concatenate multiple text files into one
- Batch – If, ElseIf, Else
- How to set commands output as a variable in a batch file
- Batch command for ImageMagick to convert all files in a directory and sub-directories on windows
- Best practice for exiting batch file?
- how to empty recyclebin through command prompt?
- How to sleep in a batch file?