Questions tagged [robocopy]

ROBOCOPY.exe - "Robust File Copy" is a Windows command line file & directory replication utility published by Microsoft.

ROBOCOPY.exe

Robust File Copy is a Windows command line file & directory replication utility published by Microsoft.

It is included with Windows Vista & later versions & is available for download for older versions of Windows as part of the Windows Server 2003 Resource Kit Tools.

References:

1005 questions
0
votes
1 answer

batch xcopy, robocopy copy to network path w/ credentions w/o using net use

Is there a way to copy to a network path to a folder that requires credentials using any copy commands without using net use. Using xcopy you can achieve the goal across network path but I can not get it to take credentials xcopy /E/R/K C:\folder\…
IntriquedMan
  • 223
  • 1
  • 7
  • 14
0
votes
1 answer

robocopy script exclude files beginning with a "space"

I'm using the following script to backup my IIS and MySQL data directories to a SkyDrive folder than then uploads to the cloud, but SkyDrive has an issue with files beginning with a space or null character and won't upload properly. I don't care…
Reece
  • 777
  • 5
  • 22
  • 42
0
votes
1 answer

PowerShell RoboCopy path issue

Objective: Robo copy from multiple machines on the network to a network share using variables for both the machine name and the currently logged on user. What I have: txt file with a list of computernames. Issue: I cannot get the foreach to work…
user2371642
  • 1
  • 1
  • 1
0
votes
1 answer

RoboCopy & Command

I need help with my RoboCopy batch file. I have a batch file to run RoboCopy to copy file from server1 to server2. I have include the /XO switch to copy only new file. After the file has been copied, then run the commmand against the copied file.…
Nguyen
  • 13
  • 5
0
votes
4 answers

Robocopy, Multi-Line Execute Process SSIS Task, or Output Batch File Results to SSIS

I need to robocopy files from one location to another in a SSIS package. Since the folder is on another domain, I need to impersonate another account before I run the robocopy.exe command. I found I can execute a "net use" command to impersonate…
Registered User
  • 8,357
  • 8
  • 49
  • 65
0
votes
2 answers

Does Robocopy clones C drive (Operating System drive) completely

I am trying to create mirror image(copy) of C drive of my Window server 2008 using Robocopy.The Command is C:>Robocopy V:\ M:\ /MIR /R:1 /W:1 My "C:\" drive consists the Operating System and contains some shared folder with network/other users.The…
Kanvas
  • 165
  • 2
  • 7
  • 23
0
votes
1 answer

How to run robocopy as non admin without having to share folders for read/write access - WINDOWS 7

I have a basic bat file which copies files from one directory to another set SOURCE=\\T4\D$\TV set DESTINATION=\\T4\E$\TV robocopy /MIR %SOURCE% %DESTINATION% When i run as a user (member of the admin group) it just displays the contents of the…
Simon
  • 133
  • 1
  • 6
  • 15
0
votes
1 answer

Robocopy CLI syntax won't work

I just recently saw that xcopy is deprecated and that Robocopy is recommended. I tried moving files with it, but couldn't get it to work. I tried moving files from C:\Downloads\Temp to F:\Temp Both folders had no files directly under them.…
KdgDev
  • 14,299
  • 46
  • 120
  • 156
0
votes
2 answers

Cannot parse variable in batch

I am trying to use robocopy to copy a file from one folder to other, but i do not think source and destination are being set properly. Really appreciate help on this. @echo off SET PathString =…
user258427
  • 141
  • 1
  • 4
  • 12
0
votes
1 answer

200 Concurrent Download Using Robocopy From a Single AWS Machine

Robocopy is exactly what I need for my project. The only thing is that I need to have one server with 500GB of data and have 200 machines download that data from this server concurrently. Is this doable by robocopy. All the machines are Windows 2008…
iCode
  • 4,308
  • 10
  • 44
  • 77
0
votes
1 answer

Powershell or other Windows method to copy datestamped html file to network share

Im new to powershell - so serious noob. But I wanted to see if anyone could help in doing the following. We have a folder on a server that has reports written to it every night. The reports are named in the following…
MoOriginal
  • 49
  • 1
  • 8
0
votes
1 answer

Compare two Directories in Powershell and work with the incomparisons

I try to compare 2 Folders. A and B. B is a Backup Folder of A. Firstly I want to check if any Files have been deleted in Folder A, if so, I want to take that corresponding File from B and move it. Then I can go ahead and RoboCopy /mir A again which…
seN
  • 1,045
  • 14
  • 21
0
votes
1 answer

Powershell robocopy /mir Copy Files before /mir deletes

I wrote a Powershell script which does following Steps. It RoboCopies Files from a Server to an External Hard drive (incremental backup) Next time it is supposed to check if any files were deleted on the Server, if so move those Files from the…
seN
  • 1,045
  • 14
  • 21
0
votes
1 answer

Using Robocopy in vb.net app Win32 error

I am developing an application in vb.net that needs to use Robocopy to copy directories and all contents within the directories to a specified directory. Robocopy must be used because unlike drag and drop, it preserves the date modified and other…
knutter539
  • 74
  • 8
0
votes
2 answers

PowerShell: Write-Progress not working with RoboCopy, Workaround?

I have successfully incorporated Write-Progress into my scripts. When my scripts get to any portion where RoboCopy is used Write-Progress disappears and reappears when RoboCopy is complete: Write-Progress -Id 1 -Activity $arg2 -PercentComplete $i…
Vippy
  • 1,356
  • 3
  • 20
  • 30