All Questions
50
questions
0
votes
0
answers
27
views
Robocopy /MOVE, directory\tree not recreated, Win-11\Home
The line below previously worked with Win-10\Home; dir\tree remained intact.
robocopy D:\ A:\Bak_Up /E /ZB /dcopy:dat /LOG:A:\Bak_Up.log /TEE
By comparison, using Win-11\Home from the below .bat, ...
0
votes
1
answer
378
views
Restore file modification time from backup
Due to some careless copy/zip/unzip operations, all files in a folder and its subfolders had their last-modified time updated.
I would like to restore the correct file timestamp from an older backup.
...
1
vote
0
answers
1k
views
Robocopy Error 53 when not logged in. When logged in, Robocopy runs successfully
We run a nightly scheduled task that copies files from a local drive to a network share.
When I'm remoted in to this machine using any account, Robocopy runs fine. When I'm not logged in, Robocopy ...
0
votes
1
answer
1k
views
Use robocopy to exclude directories containing a file
I'm using robocopy in a batch script to back up all of my files onto an external drive, but I want to exclude any folders that contain (directly) a file called ".nosync", so I can avoid ...
0
votes
1
answer
1k
views
Trying to parse a string that I generate in a batch file into a few values of an XML file
I'm trying to create V2 of my little batch file. I only know batch , so I'd prefer to do this if possible instead of powershell but if I have to, I have to.
The app just copies five files that are the ...
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 ...
7
votes
0
answers
5k
views
Robocopy loops/nests "Application Data" 29 times when copying "Application Data" folder on Windows 10
My goal here is to be able to back up my entire computer by using robocopy. My robocopy script keeps getting stuck here as you can see with the Application Data.
C:\Documents and Settings\All Users\...
2
votes
1
answer
4k
views
robocopy batch file is giving Error codes 2 and 3
I have a batch file to get robocopies of rar files from different places it used to work just fine but recently it is giving me error code 2 and 3 but the robocopy is working Fine I didn't even change ...
2
votes
1
answer
3k
views
Batch File for Extracting File Path and File Name from Log file
I am really trying to figure this out, so bear with me, and thanks in advance for any assistance. I'm still struggling with understanding proper use of FOR /F "Delims" and "Tokens".
EDIT: Ultimately ...
0
votes
1
answer
47
views
How do I write this in my batch script?
The command is
robocopy M:\Tech_Supt\$Software\Open Way & Motion PC files and Config\OpenWay Install Objects\ C:\OpenWay Install Objects\ /e
The path is awful due to the spaces and & ...
0
votes
1
answer
219
views
Best language/system to auto-batch copy files & dir's with file rename in Windows 8/10?
Robocopy came so close, but is missing file rename on copy. So could people please direct me to a language or system in Windows that would be well suited to the following :
This is meant to be a ...
0
votes
1
answer
500
views
Robocopy Error on local path?
When I run the file, it errors out and says "The filename, directory name, or volume label syntax is incorrect.
My file is just one line for now to test and goes like this:
@echo off
robocopy "C:\...
0
votes
1
answer
810
views
Compare files using robocopy in for loop
Problem I want to solve:
Compare files in one directory to files in a subdirectory. If they match, delete the file in the top directory. This is for Windows and I would like to use Windows Batch ...
0
votes
1
answer
11k
views
Moving files to FTP in batch file and delete source files
I need to create batch script for copy files from PC to FTP server. After copy - delete all files from source. And in destination directory overwrite all existing files.
I found many solutions, but I ...
0
votes
1
answer
6k
views
Copy files with full relative path in Windows
I have a large set of files (45,000+) in a pretty complex folder structure. I extracted a subset of ~13,000 files and their paths (relative to the root folder) that I want to copy with the original ...