Skip to main content

Questions tagged [xcopy]

The tag has no usage guidance.

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 ...
Jan Doggen's user avatar
  • 4,247
-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 ...
Sevanna's user avatar
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 &...
olivier8064's user avatar
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 ...
user316117's user avatar
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 ...
SSi's user avatar
  • 147
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,...
neff's user avatar
  • 11
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 ...
Vitor Canova's user avatar
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 ...
Fidumo's user avatar
  • 25
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 ...
Casper the Friendly Grue's user avatar
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 ...
snappy_pete's user avatar
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 ...
Jimm Chen's user avatar
  • 6,014
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?
Meester Moo's user avatar
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 ...
user263358's user avatar
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 ...
EyTheGreat's user avatar
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 ...
Kevan Horncastle's user avatar

15 30 50 per page
1
2 3 4 5
14