Questions tagged [xcopy]
The xcopy tag has no summary.
201 questions
0
votes
0
answers
88
views
xcopy Invalid numbers of parameters error
I'm trying to execute two xcopy commands from a batch file like this:
xcopy D:\source\folder "E:\target folder\folder" /E /D /I /Y /EXCLUDE:D:\source\folder\\Management\exclude1
xcopy D:\...
0
votes
0
answers
44
views
updating xcopy command to robocopy
I am trying to update the following xcopy command to robocopy. I substituted robocopy for xcopy, removed the "" and the switches except for /e. It fails. How do I fix it?
xcopy "c:\...
2
votes
1
answer
121
views
copy subfolders two levels down
I want to copy all 2 level down subfolders and their entire contents into another folder, preserving everything, structure etc. but only from a certain date of file / folders forward
e.g. I have
...\...
0
votes
1
answer
108
views
Suspiciously fast XCOPY on 2nd CD
I'm checking the integrity of my 'Old projects' CDs/DVDs with XCOPY *.* /s to my hard disk.
I have two copies of each CD/DVD, so the first copy goes to Folder1, the second to Folder2, and then I ...
-1
votes
1
answer
120
views
What is causing the xcopy file from having an error in it?
I am new to xcopy. I am trying to move a file that is in excel format to a new destination and as a csv file. I have to do this so that the DMExpress ETL job can move the file and then read it. This ...
0
votes
1
answer
671
views
Copy several files listed in a text file to a new folder when list file contain different paths
I would like to copy several files (with different paths) in one folder.
I tried this solution explained here page of example on stackexchange
but when I run the file (I choosed .bat file) I have &...
6
votes
2
answers
10k
views
RoboCopy slower than Xcopy? (Windows 10)
I'd been using xcopy in a backup script but every so often xcopy would fail with "insufficient memory" when a pathname would sneak into the backup set that exceeded 254 characters. Lots of ...
0
votes
0
answers
527
views
How to use xcopy to copy files from a compressed NTFS folder to the root of a FAT32 volume?
I am having problems using XCOPY to copy folders and files from a compressed NTFS folder to the root of a FAT32 volume (actually a USB drive).
This looks like a Windows or Xcopy bug to me. The command ...
0
votes
0
answers
136
views
Is my batch script to replace program files on startup with rmdir and xcopy not working properly?
I'm trying to work my way around a program that's giving me some problems.
It has to fire up every day and do it's thing, but rarely does - losing data and breaking very frequently.
So to counter this,...
0
votes
1
answer
1k
views
How to use xcopy with /exclude in a network path with spaces?
I want to use xcopy on a network path. I actually do.
The problem is that I wanted to use an /exclude option. But the file would be in a network path. But the network path has spaces (s:\my path).
So ...
1
vote
1
answer
415
views
Is it possible to make XCOPY only copy the files from a source if they are older than the ones in the destination?
Is it possible to make a batch script only XCOPY the files from a source if they are older than the ones in the destination? I'm trying to archive Roblox versions. I tried /D, but that just makes it ...
1
vote
1
answer
2k
views
Does the xcopy command on Windows provide a safe means of backing up data?
I recently backed up the data on my computer, using the xcopy command. I briefly looked through some of my backup files and directories, and they looked the same as the originals. However, I ...
1
vote
1
answer
2k
views
xcopy only newest file to a subdirectoy
I have a batch file that runs when I build my solution in VS2019. The .bat file uses xcopy to copy .dlls from my project's Debug folder to another destination direction.
I want to use xcopy to copy ...
3
votes
2
answers
3k
views
Is there Windows copy command that mimic Unix `cp -r` behavior?
I don't know how to name this behavior vividly, just call it loyalcopy.
Two figures will illustrate it clearly.
I'd like to issue two commands to copy two filesystem nodes (regardless it is a file ...
1
vote
0
answers
1k
views
Purpose of xcopy over robocopy
From what I've found online, robocopy seems to be xcopy with more features; are there any scenarios where someone would want to use xcopy over robocopy?