Skip to main content

Questions tagged [xcopy]

The tag has no usage guidance.

0 votes
2 answers
1k views

Win 10 XCOPY partial extension match

There is a file named README.cppclean in a directory hierarchy. I want to copy all *.cpp files from the directory tree but not the *.cppclean file. All of the commands below do copy the .cppclean ...
Petr Vepřek's user avatar
0 votes
1 answer
888 views

How is this a cyclyc copy?

In the following directory structure: root/ web/ index.html etc... release_package/ web/ app.dll I performed this command: xcopy "./web/*.*" "./...
Tomáš Zato's user avatar
  • 4,524
9 votes
4 answers
56k views

How do I track the progress of XCopy command while It's running?

OPSYS: Win10Pro 64 bit RAM: 10GB I created a batch file which I then saved to the desktop of the local Administrator account. The batch file command line is this: xcopy "F:\movies" "L:\movies" ...
ChrisinAK's user avatar
3 votes
3 answers
16k views

How to copy one directory to another with window command prompt?

I read alot of guides about to copy directories. On SO also read the posts Commmand line command to copy entire directory (including directory folder) to another directory copying all contents of ...
Cataclysm's user avatar
  • 133
2 votes
2 answers
2k views

copy array in a batch file

I have several files located across several directories/subfolders that I need to copy to several destinations. I currently do this using xcopy but I do it line by line, so there are several lines of ...
Mike Van Dunk's user avatar
1 vote
2 answers
2k views

How to maintain relative symbolic links during copy?

I have a directory structure with a bunch of relative symbolic links. Example: e:\test e:\test\foo\a --> "..\bar" e:\test\bar\b --> "..\foo" Is there a way to copy the entirety of the directory from ...
DWR's user avatar
  • 111
2 votes
1 answer
24k views

XCopy encounters a sharing violation, how to handle

I'm using xcopy for copying large bundles of files. One thing I particularly like about xcopy is the /F switch which shows all source and destination files, paths included, something like: xcopy /E /...
Dominique's user avatar
  • 2,283
0 votes
0 answers
4k views

Why doesn't XCOPY copy my symbolic link?

I have a folder contain a directory symbolic link, with its structure as following: my-folder - sub-directory - symbolic link (link to d:\some-folder) - file The xcopy command I used is xcopy /e ...
Edward's user avatar
  • 193
0 votes
1 answer
4k views

Xcopy error: invalid number of parameters

I want to copy an entire directory to another directory. I tried this: xcopy SourceDir= C:libraries\documents TargetDir=C:\S:\V (E) Backup I know people don't usually use specifics, but those are ...
Billy's user avatar
  • 11
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 ...
AB IT Support's user avatar
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 ...
Fred Cailloux's user avatar
5 votes
2 answers
5k views

Is it possible to get an `errorlevel 1` from `xcopy` in Windows 10?

Microsoft documentation states that the xcopy exit codes are Exit code Description 0 Files were copied without error. 1 No files were found to copy. 2 The user ...
MC ND's user avatar
  • 1,541
0 votes
2 answers
1k views

xcopy changed file content on windows 10

I've copied cca 180 GB using xcopy SRC DST /C /E /Q on Windows 10. The Files are mostly video files and/or presentations (ppt/pptx/pdf). I've noticed strange behavior: some of the copied files (2133 ...
Wakan Tanka's user avatar
0 votes
2 answers
370 views

how to backup os of server using xcopy

I have been able to backup some files with the xcopy command using the following code in my batch file. xcopy /e /s /d /i /y "C:\Users\ba\Desktop\all\a" "C:\Users\ba\Desktop\all\bb" >> "C:...
janet's user avatar
  • 1
2 votes
1 answer
1k views

batch copy folder located by guid

In a batch file, can I copy a folder located by a constant path like \?\Volume{GUID}? When copying (copy, xcopy or robocopy) a directory and its content from a local removable drive (a usb external ...
fkk's user avatar
  • 21

15 30 50 per page
1
3 4
5
6 7
14