Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
2 answers
577 views

Copy Program Files folder to another volume

I want to copy C:\Program Files to D:\Programs and place a junction instead. If I run robocopy "C:\Program Files" D:\Programs /e /copyall /sj /secfix from WRE or any other external ...
Pellegatta Simone's user avatar
0 votes
1 answer
144 views

Preserving Quick Access Pins and Libraries with Robocopy

So I've had an external drive that I kept plugged into my laptop that later started having connection issues. I decided to use Robocopy to transfer the files over to a new drive with (effectively) the ...
woashi's user avatar
  • 13
1 vote
1 answer
510 views

Does Robocopy's /ZB option switch modes on a per file or per transfer basis?

Robocopy's command guide describes /zb as an option that "Copies files in restartable mode. If file access is denied, switches to backup mode." However, this is somewhat ambiguous. When ...
woashi's user avatar
  • 13
1 vote
1 answer
843 views

Robocopy copying from different drive

I am using robocopy to transfer files from an old laptop drive to an external drive because I believe the hard drive is close to failure. I ran the program with these arguments robocopy D:\ E:\...
Themanwithaplan's user avatar
0 votes
0 answers
2k views

How to copy files in File Explorer while preserving all Metadata attributes: Including Last Accessed Date, Modified Date, etc

I have scoured superuser for an answer, and have found similar questions, but none of them talk about preserving the Last Accessed Date. I have already wanted to archive all the last accessed dates on ...
asgasehswheeshss's user avatar
1 vote
3 answers
476 views

Incremental copy of log file content

I have a couple of log-files, growing one line at a time, as log files do. The files are available via SMB network share. I want to periodically copy these files. Since the network is rather slow and ...
HugoRune's user avatar
  • 748
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
46 views

Why does Windows Explorer change the 'Folder Modify Time' when first accessing a folder after a robocopy?

I am attempting to use Robocopy to mirror a directory structure (/e) and keep created/modified/accessed times. This should be fairly simple with '/copy:DAT /dcopy:DAT' and appears to preserve the ...
Chuu's user avatar
  • 763
0 votes
0 answers
1k views

Reducing Command Priority: Robocopy Slows System

How can I prevent Robocopy from slowing other processes to a near standstill? I have a Windows 10 batch file running Robocopy, once per hour, to mirror one drive and to copy changed files on another ...
Ray Woodcock's user avatar
0 votes
2 answers
802 views

Get-ChildItem in Robocopy not working as expected

I'm looking to find all .jpg files in D:\ZZZ_Phone_test and its subdirectories and then have Robocopy to copy those to D:\ZZZ_Phone_test\1\1\BackUp\ (which needs to be excluded because it is within ...
ThomasHunter's user avatar
1 vote
0 answers
507 views

Copying large file with robocopy during remote-desktop session failed with ERROR_OPERATION_ABORTED

Today, it was necessary for me to copy a rather large file from one PC A to another PC B. I'm using Windows on both PCs, so that I thought robocopy would be the tool of my choice. The file was about ...
Aleph0's user avatar
  • 121
1 vote
1 answer
5k views

Compare two directories to check which files are missing on the destination path with Robocopy?

I have two directories with the same name and same sub-folder names. I am running this command: ROBOCOPY “Source 1” “Source 2” *.* /L /NJH /NJS /NP /NS /log:reconcile.txt But it shows me new files ...
Motestfilter's user avatar
0 votes
0 answers
134 views

Can you move a directory while data is being copied to it

I have a large set of data that is being copied to a directory on a server, around 2 tb. I would like to start moving this data(Ctrl-X) from server A to server B to save time and space on server A. ...
davedno's user avatar
  • 129
0 votes
1 answer
6k views

Robocopy skips one directory although it looks like everything is transferred

I am trying to copy a large amount of data to a databox (~10 TB). I am using robocopy with this command: robocopy <source> <destination> * /e /r:3 /w:60 /is /nfl /ndl /np /v /MT:32 or 64 /...
Lane Messier's user avatar
1 vote
2 answers
14k views

Robocopy: copying files without their directory structure

I have a network fileshare called \\SMWEB\MSDS which contains hundreds of sub-directories named MSDSnnnn (i.e., MSDS plus a number).  Inside each sub-directory MAY be numerous files — some .html, .jpg ...
gpence's user avatar
  • 131
0 votes
1 answer
1k views

How do you copy a folder tree with invalid characters and too long paths from a network drive?

I've tried robocopy /E /256 z:\source c:\target but that doesn't rename files with invalid characters. I tried dragging the folder to my desktop and 7zipping it but it also fails on invalid ...
Richard's user avatar
  • 528
0 votes
1 answer
47 views

Attempt To Use Batch Files While Keep Structure

I wanted to use robocopy, but it is not possible due to my text file has filenames attached. I ended up have to use copy instead. I wanted to copy files like this... Source: S:\folder\A\B\C\D\E\...
PanK's user avatar
  • 3
0 votes
1 answer
153 views

How to simply keep a file in open status without help of program in C language/etc.. by using windows bare basic features?

Why robocopy still copy an open file, opened by txt editor in windows Further to above question, how could it be the simplest way to keep an file opened in a bare windows env like server 2016 ...
Ken's user avatar
  • 43
4 votes
3 answers
4k views

Why robocopy still copy an open file, opened by txt editor in windows

From wikipedia, it is told that robocopy will skip copying files in open status. However, when it is under test for robocopy behaviour, the robocopy still copy the opened file by the most simple text ...
Ken's user avatar
  • 43
1 vote
0 answers
3k views

External hard drive (USB 3.0) disconnects after half an hour when robocopy is copying large files

I'm constantly facing the same issue, that I'm not able to successfully copy files from one internal drive to an external drive. I'm using robocopy with this command robocopy D:\ F:\ /e /zb /np /copy:...
testing's user avatar
  • 869
0 votes
2 answers
4k views

Windows: copy files and change extension without duplicates

I have a directory that has image files without extension. Let us say it to be D:\initial\. Now I want to copy those files over to D:\final\ directory and change the extension to .jpg for each file. ...
Slartibartfast's user avatar
2 votes
1 answer
2k views

What happens when you use Robocopy between two remote computers on your WAN?

Some details: I have a local server at one of the branches of the company I work for that has some pretty bad internet. I am using Robocopy to move some big files to the server once then using it ...
Carlton Gannett's user avatar
1 vote
1 answer
168 views

How can I copy files from A to C, only including files that exist in B?

in reference to this How can I copy files from A to B, only including files that exist in B?. How can i copy files from A to C only including files that exist in B. Folder "A" (C:\) ...
user avatar
19 votes
7 answers
39k views

How to copy a directory on Windows, preserving timestamps of all directories being copied

I want to copy a directory tree while preserving timestamps of any file and directory contained therein being copied. The source directory is on a data DVD (ISO-9660 filesystem). I am copying to an ...
Armen Michaeli's user avatar
0 votes
1 answer
611 views

Copying a subset of a large folder, preferably using robocopy

I want to copy some files from a huge share on a high-latency server. I can do it with multiple robocopy commands: robocopy /MT \\slow\share\path1 c:\my\path1 *.exe robocopy /MT \\slow\share\path2 c:\...
Jonathan's user avatar
  • 3,547
34 votes
4 answers
71k views

What is backup mode in Robocopy

I am trying to copy a large database backup file over network. The traditional program copy or xcopy failed with different binary resulted. Also tried robocopy without parameter, and resulted a ...
ydoow's user avatar
  • 483
1 vote
0 answers
1k views

Can the "Are you sure you want to copy this file without its properties?" halt be stopped when copying files?

When I copy data on my computer, I get a dialogue box with the message Are you sure you want to copy this file without its properties? I know why this message pops up, but it does not make it any ...
CamM's user avatar
  • 11
-1 votes
1 answer
2k views

Batch file to copy files from server to desktop according to date

I will explain what I´m trying to get up and runing. I have a folder on the server containing several subfolders and zip archives in those folders. The string of the server is like: \\server1\groups\...
DSS8707's user avatar
43 votes
5 answers
125k views

What is the benefit of copy over xcopy on the command line?

I know that xcopy has more options however are there any benefits to using copy rather than xcopy?
Phil Hannent's user avatar
  • 1,140
7 votes
5 answers
7k views

How can I copy files from A to B, only including files that exist in B?

I'm on Windows 7 Professional, and this is my scenario : Folder "Asd" (C:\) Folder "Asd" (D:\) File 1 File 1 File 2 File 3 File 3 ...
markzzz's user avatar
  • 747
2 votes
0 answers
199 views

"Access denied" when trying to move a directory in Windows 7 [duplicate]

Possible Duplicate: Access denied, cmd move windows 7 I can't use this command in Windows 7 when I want to move a directory. If the destination exists, it says "Access denied". Why does this ...
Aziz's user avatar
  • 597
0 votes
2 answers
451 views

Which tool to use when making a complete dump of the sysvol in Windows XP

I have tried both robocopy and hobocopy. Robocopy lacks the use av shadow volume copy so it always gets stuck on system files, you need to supply an ever growing list of filenames/directories to ...
Ernelli's user avatar
  • 852