Questions tagged [xcopy]
The xcopy tag has no usage guidance.
198
questions
0
votes
1
answer
52
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
57
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
216
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
6k
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
326
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
106
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
333
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
1k
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
1k
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 ...
2
votes
2
answers
2k
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?
2
votes
1
answer
938
views
Change extension for all files in a folder & its subfolder
I am using XCOPY the following successfully copies the entire contents of
\MY SKETCHES 2021 to \My Sketches (TEXT).
This is my command:
xcopy C:\Users\terry\Dropbox\Electronics\Arduino\SKETCHES\My ...
0
votes
1
answer
202
views
Batch file not getting the first 5 characters in drop file filename
I created a simple batch file that copies drop file in specific folder. This my batch script:
rem This will create a BACK-UP DATA Folder in Desktop
rem with a SUB-FOLDER which filename must be the ...
0
votes
0
answers
136
views
for command does not allow move or xcopy command to move/copy the folder only the contents
have looked on this forum for several examples, started off with xcopy ( not allowing wildcards in the folder name ), wanted to pipe the dir command to either xopy or move but require the dir ...