0
votes
0answers
12 views

Does robocopy /Z not reliably work when aborting the process?

I am copying some large files from a slow NAS to a local machine. The command line is quite simple robocopy /Z P:/Data D:/Data There are some very large files and I would like to power off the ...
1
vote
0answers
22 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). ...
0
votes
0answers
20 views

Copying directories and files with the same stem using Robocopy

I'm using Robocopy as a TFS task in order to deploy some files. Basically, the behaviour that I want is as follows: I have a directory \\MyDir containing: MyFile1 MyFile2 MyFile3 TestFile1 MyDir1 ...
0
votes
1answer
72 views

robocopy using parent folder name

I have a small batch file that uses robocopy to backup a folder. The intended action is for it to copy C:/users/public/ into D:/Backups/YYYY-MM-DDTHHMM/ At present, it copies the files into a folder, ...
1
vote
2answers
682 views

Batch file, skip a step if an error occurs

I'm trying to write a script that automates copying some files from two external locations using Robocopy. I want the script to skip a step if one of the locations is unavailable. I'm using the ...
1
vote
1answer
122 views

Need to create a robocopy in Powershell 1.0

My ultimate goal is to mirror a folder and its subdirectories with the restriction of only copying files with the extensions, sln, vcxproj, cs, cpp, hpp, c, and h. There are far too many subfolders ...
-1
votes
1answer
132 views

Robocopy misunderstanding of destination folder

I want to create a simple script to move the entire contents of a folder up in the parent directory, and insert it in the context menu. Here is the script. I'm trying to understand how robocopy ...
1
vote
4answers
3k views

ROBOCOPY Copying directory from remote computer: error 'the network path was not found'

I am trying to copy a folder from a remote computer using ROBOCOPY I'm using the following: NET USE \\192.168.10.90\IPC$ /u:server\[username] [password] ROBOCOPY \\192.168.10.90\home\lgr\ ...
1
vote
0answers
122 views

Robocopy; How to copying missing files to a different location from original copy?

I am using Robocopy to transfer around 1 tb worth of files from an external drive to a virtual Windows Server 2008 machine hosted on an ESXi 5.1 VMWare server using USB pass-through. I used the ...
0
votes
1answer
126 views

Robocopy: copy files preserving folder structure but adding a subfolder

I need to copy a folder which contains subfolders with files to a shared folder on another machine. During that, the script should create a custom subfolder in each destination folder and place files ...
1
vote
1answer
390 views

Hidden folder in Robocopy

I'm trying to backup a hard drive with two partitions on it to another drive with only one partition using Robocopy. I am running my commands in PowerShell. The source drive is a USB2.0 drive and the ...
0
votes
0answers
164 views

Robocopy (without /l flag) running for hours making log file huge, but not actually copying anything

Here's my command: Robocopy C: C:\C_root /FP /BYTES /TEE /S /E /COPYALL /DCOPY:T /MOVE /Z /ETA /XJ /R:2 /W:30 /XF pagefile.sys /XD /LOG:C:\robocopy.log. BTW, notice the /XD option above. ...
1
vote
1answer
332 views

RoboCopy Log File Analysis

Is it possible to analyse the log text file outputted from RoboCopy and extract the lines which are defined as "New Dir" and "Extra Dir"? I would like the line from the log contain all the details ...
0
votes
1answer
388 views

Robocopy causing network disconnects

PROBLEM: I am trying to copy a large folder (my music) from my Windows 7 machine to a Windows 8 machine via a LAN. Inevitably, once robocopy is run, the state of the network will start fluctuating ...
2
votes
2answers
1k views

Why does Robocopy ignore the /copy flags?

Robocopy Copy Flags? I just recently made an answer here http://stackoverflow.com/a/15211788/891976 where I suggested using robocopy and its /copy flags, but for some as of yet unknown reason, the ...
1
vote
1answer
7k views

How to use Robocopy to copy a folder structure into all (sub)folders located under one directory?

Is there anyway for me to quickly take an empty folder structure I have created on my desktop and copy it to 488 other folders all located on a network drive but in the same folder? My primary ...
0
votes
1answer
1k views

robocopy from remote server that requires private/public key authentication

I know that the robocopy command will only work with existing drives, not remote servers, so if I'd like to use the robocopy command to run periodic file backups from a remote server, I have to map ...
1
vote
1answer
2k views

Can Robocopy monitor files on a time incremenet of less than one minute?

Robocopy has the option to monitor the source directory, and copy over any files that have changes. You can specify how many changes in the directory must occur before copying (/mon n where n is the ...
1
vote
1answer
339 views

Robocopy prepends drive letter on filepaths even when drive is specified

robocopy /"C:\Users\john smith\Documents\Visual Studio 2010\Projects\project\checker\bin\Debug\/" /"C:\Users\john smith\project\Assemblies/" checker.dll When I run this through the command line it ...
2
votes
1answer
156 views

Can I prompt a user to save a file using windows explorer?

I'm trying to build a windows batch file that will copy a folder and all its contents from the local user directory into an individually named folder on a shared server. The name of the folder on the ...
4
votes
2answers
7k views

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

I know that xcopy has more options however is there some benefit to using copy rather than xcopy?
0
votes
1answer
973 views

getting “Invalid Parameter #10” when attempting to copy folder using robocopy

I'm trying to copy a folder on my internal hard drive to my external hard drive using robocopy with the following command: robocopy "source folder" "destination folder" *.* /E /DCOPY:T /COPYALL ...
1
vote
2answers
1k views

CMD MOVE can't replace directories in WIN 7

The MOVE command does not work when to ovewrite a directory. I have also tryed to run cmd with admin rights. I'm posting this question with more info so you can easily test it self. Make your own ...
1
vote
0answers
155 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 ...
0
votes
3answers
11k views

Access denied, cmd move windows 7

I can't use this command in win 7 when want to move a directory if the destination exists. It says Access denied. Why hapens this? It worked in XP. move /y "%1" c:\mydir\ I can use robocopy, but ...
2
votes
0answers
1k views

command line remove read only flag on all subfolder entries or overwrite read only files with robocopy

I need one of two things to work: I use robocopy to copy all sub-files and sub-folders from one folder to another, and the destination contains older files + files not in the source, and I need the ...
3
votes
1answer
1k views

Robocopy Mirror Backup gone awry

I have created a simple batch file script for running Robocopy. It is set to make a backup of my user account folder to my external hard drive. Here's the parameters for Robocopy: ROBOCOPY ...
-2
votes
3answers
416 views

Problems with Robocopy

How shall I put this... It's like: you can tell robocopy: "move the contents of this map to that map". But you can't say: "move that map to that map, no matter the contents"(to be content of that ...