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
-1
votes
1 answer

Robocopy One Log logfile for 3 tasks

I'm trying to create one log file for all of my three Robocopy Backup tasks. The Problem is how can I create only one Logfile for all 3 tasks. Thanks robocopy "$env:UserProfile\desktop\" "$Destination\desktop" *.* /copy:DAT…
Valentino
  • 43
  • 2
  • 8
-1
votes
1 answer

Robocopying multiple folders at one time

I have a folder per day in c:/place/, like C:/place/2017-01-01 & C:/place/2017-01-31 I want to use robocopy to move 2017-01-0* from c:/place to d:/place, what would be the proper syntax to move all of those folders at once? I'm using PowerShell to…
-1
votes
2 answers

Powershell using Robocopy to list files in csv

I have been asked to provide a listing of all files in a folder and its subfolders. Initial efforts using powershell and dos commands proved it was unable to cope with file and folder names that exceeded windows 256 character length limit so I…
GTEM
  • 3
  • 1
  • 3
-1
votes
1 answer

Robocopy cannot access the destination on a client pc

Oggetto: robocopy cannot access the destination Hi over there, I am having a problem by tyring to execute robocopy, to copy a folder hosted on a server (Windows 2008 R2 Server) into a client pc (Windows7) on a LAN. I try to explain me as better as I…
fortecm
  • 1
  • 4
-1
votes
1 answer

PowerShell Copying latest folder to another folder

I am trying to copy the latest folder on a remote sever to a local folder using robocopy without any luck any suggestions
-1
votes
1 answer

robocopy run once

I am executing a robocopy command with my source on a and my destination is a local folder. However when robocopy runs and the server is down, it keeps repeating and retrying to find the folder every 30 seconds. I would like the robocopy to only run…
tlotr856
  • 3
  • 1
-1
votes
2 answers

Powershell ROBOCOPY Users Data to Mapped Home Drive

%Username% seems to fail when i would like to deploy this to multiple users. Is there a better way to do this? A way to get the specified users profile?: New-Item -ItemType directory -Path O:\_Backups\Contacts Robocopy C:\Users\%Username%\Contacts…
-1
votes
1 answer

Copy folder structure and merge sub directories

enter image description hereI'm not sure where best to post this, hopefully someone can advise if this isn't right, I've been a long time browser but this is my first post. Anyway.. I need to automate copying a load of folders to a new location and…
Curtis W
  • 5
  • 3
-1
votes
1 answer

Batch copy file from multiple sources via robocopy

I am trying to write a script to copy log files from different sources and PC´s to 1 destination using robocopy. for /f "tokens=*" %%a in (pc.txt) do ( set source0="\\%%a\D$\log" set source1="\\%%a\C$\XX\log" set source2="\\%%a\C$\XXX\log" set…
eschi1
  • 3
  • 4
-1
votes
1 answer

How to keep online in batch script?

I used robocopy batch script in Windows Vista. It takes about an hour. This script can't use in Windows7, because it turns offline about 5 minutes later. Can I keep online in this batch script ?
-1
votes
3 answers

java why not just executing 'xcopy /S $sourceDir/* $targetDir' or similar instead of 'reinventing the wheel'?

im still relatively new to java but i have experienve in scripting like DOS, Windows and Bash. today i would like to EASILY copy recursively the content of an directory (files and directories) from a sourceDir to a destinationDir from my Java CLI…
Axel Werner
  • 186
  • 1
  • 17
-1
votes
1 answer

Windows 8.1 Robocopy Running on Windows 7

I would like to copy the Robocopy.exe file from a Windows 8.1 system and run it on a Windows 7 PC. Both PC's are running the 64bit variant of their respective OS. Is this possible in any way? At present I just get the error that it "is not a valid…
JC_RMB
  • 99
  • 9
-1
votes
1 answer

SSIS not executing .EXE using Execute Process Task on INT server

I have an Executable I am able to run in the Dev environment that isn't being run in the Int environment. When I try to run the .EXE on Int remotely using UNC path I get an error stating the .EXE is a 16-bit application and can't be run on the Int…
mungea05
  • 110
  • 6
-1
votes
1 answer

Sending Robocopy log as email attachment

How to send robocopy log file as email attachment,As using below command to copy the files and save the log file and it works fine. @echo off robocopy C:\Narsing\XX\Robocopy\Source\ C:\Narsing\XX\Robocopy\Destination /E…
user2315732
  • 365
  • 1
  • 4
  • 9
-1
votes
1 answer

Copying files and keep duplicates

i have a list of pdf file links from different folders.Is there a way to copy these files using a batch file to another folder and keep duplicate files? example below. from C:\my folder\file1.pdf C:\my folder\file2.pdf C:\my folder\file3.pdf C:\my…
1 2 3
66
67