Questions tagged [xcopy]
The xcopy tag has no usage guidance.
54
questions with no upvoted or accepted answers
4
votes
1
answer
11k
views
Batch execution error "not recognised as an internal or external command"
D:\temp\copyTXT.bat is a simple script containing:
XCOPY /v D:\temp\MyFile.txt D:\Documents\
Executing the script fails, flashing a window for ~100ms, then does nothing (no copy at all), but if I ...
4
votes
0
answers
87
views
Unable to Copy from E partition
I am stuck in weird issue. I moved my images from my phone to a folder in Windows 8's Partition E:/. Now i am trying to move back to my Phone/Flash Drive/Other Partition/Other Machine(via Sharing ...
2
votes
1
answer
947
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 ...
2
votes
1
answer
78
views
Copy files except when destination modified in last x days
I think what I am trying to do is simple, but I can't get the robocopy settings right, as I am trying to copy files from src to dest, over-writing files in dest if they already exist, except if ...
2
votes
0
answers
3k
views
How can I specify an /EXCLUDE file with spaces in it to xcopy?
I have tried to specify an /EXCLUDE filename with spaces in it to xcopy, but it always chokes. How can I specify such a path to xcopy without copying the /EXCLUDE files into the current directory and ...
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?
1
vote
0
answers
611
views
xcopy in task scheduler ends with error 4
I created a task in task scheduler to copy a specific file to a server each midnight. When I run the command normally in command line it works fine, but the task always ends with exit code 4 and the ...
1
vote
1
answer
2k
views
Robocopy Hangs / Gets Stuck - Move to Next File Command/Timer?
I have an issue when I utilize Robocopy. I have a fairly homogeneous directory and I am trying to move it from one drive to another. The drive where the files reside must be corrupted. I would ideally ...
1
vote
0
answers
118
views
Migrating Domain Users to another Domain
I have a kiosk user on which many workstations are logged in currently. I am working on a project to move everyone from Kiosk to their own domain user so instead of using kiosk user called USER I want ...
1
vote
0
answers
1k
views
Windows: How to copy specific subfolders and keep folder structure?
I have many sub folders in root folder, they are structured in year \ month \ day way, e.g,
root_folder
\-A folder
\--2012 <--- year
\--01 <--- ...
1
vote
1
answer
1k
views
XCOPY /exclude reference a ext file that is not in the working directory
I have tried to reference the directory of the text file after /exclusions.
What is wrong with my syntax?
xcopy "J:\Common\NY SERTIFIKATBANK\18 Buoyancy Reports\Nav Lights\534515" "534515" /I /...
1
vote
0
answers
2k
views
Windows Batch to copy one file to multiple directories
I have a rather simple copy and paste batch job.
That checks for a more recent file and overwrites it.
I was trying to take a single COPY and copy it to a second directory.
In simple, this Batch is ...
1
vote
1
answer
885
views
How to back up only newer files
I wrote years ago a script using XCOPY with parameters /E /D /Y /V /R /H
that allowed me to back up newer files to my dropbox having always everything updated.
Since I upgraded to Windows 7 and 10 ...
1
vote
0
answers
75
views
I copied a folder with copy&paste instead of 'xcopy'. How to fix that?
I copied a folder (Windows Server 2003) with copy-paste instead of 'xcopy' or 'robocopy'. Now I lost the original permissions, and I can't re-do the copy process (can't access the original folder).
...
1
vote
1
answer
4k
views
Batch File to xcopy multiple files from web server to share drive
I am trying to copy a group of files from a folder on my SharePoint site to a network share folder for manipulation "off-line". I am new to xcopy and batch files so trying to teach myself with Google!...