My batch file already had "on break goto ..." statements before invoking ROBOCOPY and "on break" statements after (including in the destination of the "on break goto ..."), shouldn't that have handled ROBOCOPY sending a Ctrl-C / Ctrl-Break?
About 30 days ago, I modified my batch file to wrap...
Has anyone noticed that that ROBOCOPY is unusual in that it modifies the window title. I have not found any other external program that modify the window title.
I have continued to periodically debug this problem and have determined that it only happens when returning from a subroutine that...
I have a set of (.BTM) batch files that I use to update offline copies of my working directories that use the robocopy program. The top level batch files call a common batch file to perform the work in a uniform way. I have noticed that occasionally batch processing terminates prematurely. I...
I keep offline copies of my working directories on external USB 3.0 drives. Over the years I have developed batch files to update these copies using both RoboCopy and TCC's copy command. I have noticed that the built in copy command (copy /w ...) is about 10 times slower than robocopy (robocopy...
Interesting, I've been using ROBOCOPY since Window XP when I first wrote a batch file to handle all of the common options. The batch file had two work arounds because of issues with ROBOCOPY. 1) The Windows 7 version had a bug that caused a destination directory to be marked as hidden/system if...
I found to handle hidden and system files with robocopy requires two passes, the first for normal files (no /IA: option) and the second for the hidden/system files (with a /IA:SH option).
Another flag would be fine. I'd just like to point out that the current implementation does output a message that it is deleting the existing read-only files.
Given two directories "C:\T" (the source/working directory) and "G:\T" (the destination/backup directory). Executing:
copy /z /w /u /y c:\t g:\t
What happens to read-only files in the destination depends upon if the corresponding file exists in the source director.
If the corresponding file...
While testing the parameters for a copy command, I encountered an issue. Given the current directories and contents: "C:\T" which contains several files, "G:\T" which is currently empty.
Execute the command:
copy /h /z /l /uf /s /ne /w c: g:
After the files are copied, the current directory...
I am setting up a new laptop at a new job and encountered a discrepancy between CMD and TCC.
The attached 7z file contains dumps of the environment variables before and after running vcvars32.bat. The environment variables that have different values are:
FrameworkDir,
INCLUDE,
LIB...
I expect and want it to delete files from the target that don't exist on the source. The help does not indicate that /u and /w are exclusive, nor do their descriptions conflict. I want to "Copy each source file only if it is newer than a matching destination file or if a matching destination...
I seem to have discovered a problem with the copy /w switch when the source is an ftp: path. I am trying to synchronize a local copy of a directory structure from a Western Digital NAS (ShareSpace model WDA4NC2000). Up until version 11 came out I used a command like:
copy ftp:/MSCR...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.