Copying directory over another auto-update - Windows 7
"Oliver Lawrence" wrote in message news:caeaaf83-269a-4610-a1dd-e410183fcabb... Hello folks, I have a folder with various files in it, which I'm working on, and an older copy of the folder (in a different parent folder) with the same files (same types and names). In Explorer, I copy the current version of the folder and paste it over the older copy (e.g. using the right-click menus). When I paste, I get the "Confirm folder replace" window, and when I OK that, I then get the "There is already a file with the same name in this location" window (asking me to confirm whether to copy and replace, don't copy, or copy and keep both files). My objective is to update the older copy so that it becomes identical to the folder that I've been working on. What I have been doing up to now is to tick the "Do this for all conflicts" box at the bottom left, and then select "Copy and replace". What I would like is to have things configured in such a way that the system will automatically copy and replace all files that have changed (i.e. whose modification date is older in the copy folder) without prompting me, and leave the other files. Is this possible? If so, how? Any ideas welcome. Thanks, Oliver. If it's the whole folder that you want to copy across, it's probably easier to do it in a CMD file than in Windows if you use - especially if you're doing this repeatedly on the same folder. COPY D:\<source folder>\*.* D:\<destination folder> /y that should get rid of the necessity to acknowledge prompts put that in either a .bat or .cmd file, and create a shortcut to it Then it's a one-click process. If you strictly want the destination to be a copy of the original, then it would be best to delete any previous files present anyhow - although you may want to keep them as backups if you create a batch of cmd file with the following this should cover that. DEL D:\<backup folder>\*.* /Q Copy D:\<destination folder>\*.* D:\<backup folder> /y DEL D:\<destination folder>\*.* /Q COPY D:\<source folder>\*.* D:\<destination folder> /y Noel Paton | Nil Carborundum Illegitemi | CrashFixPC | The Three-toed Sloth
May 27th, 2012 5:04am

Hello folks, I have a folder with various files in it, which I'm working on, and an older copy of the folder (in a different parent folder) with the same files (same types and names). In Explorer, I copy the current version of the folder and paste it over the older copy (e.g. using the right-click menus). When I paste, I get the "Confirm folder replace" window, and when I OK that, I then get the "There is already a file with the same name in this location" window (asking me to confirm whether to copy and replace, don't copy, or copy and keep both files). My objective is to update the older copy so that it becomes identical to the folder that I've been working on. What I have been doing up to now is to tick the "Do this for all conflicts" box at the bottom left, and then select "Copy and replace". What I would like is to have things configured in such a way that the system will automatically copy and replace all files that have changed (i.e. whose modification date is older in the copy folder) without prompting me, and leave the other files. Is this possible? If so, how? Any ideas welcome. Thanks, Oliver.
Free Windows Admin Tool Kit Click here and download it now
May 30th, 2012 4:27am

"Oliver Lawrence" wrote in message news:caeaaf83-269a-4610-a1dd-e410183fcabb... Hello folks, I have a folder with various files in it, which I'm working on, and an older copy of the folder (in a different parent folder) with the same files (same types and names). In Explorer, I copy the current version of the folder and paste it over the older copy (e.g. using the right-click menus). When I paste, I get the "Confirm folder replace" window, and when I OK that, I then get the "There is already a file with the same name in this location" window (asking me to confirm whether to copy and replace, don't copy, or copy and keep both files). My objective is to update the older copy so that it becomes identical to the folder that I've been working on. What I have been doing up to now is to tick the "Do this for all conflicts" box at the bottom left, and then select "Copy and replace". What I would like is to have things configured in such a way that the system will automatically copy and replace all files that have changed (i.e. whose modification date is older in the copy folder) without prompting me, and leave the other files. Is this possible? If so, how? Any ideas welcome. Thanks, Oliver. If it's the whole folder that you want to copy across, it's probably easier to do it in a CMD file than in Windows if you use - especially if you're doing this repeatedly on the same folder. COPY D:\<source folder>\*.* D:\<destination folder> /y that should get rid of the necessity to acknowledge prompts put that in either a .bat or .cmd file, and create a shortcut to it Then it's a one-click process. If you strictly want the destination to be a copy of the original, then it would be best to delete any previous files present anyhow - although you may want to keep them as backups if you create a batch of cmd file with the following this should cover that. DEL D:\<backup folder>\*.* /Q Copy D:\<destination folder>\*.* D:\<backup folder> /y DEL D:\<destination folder>\*.* /Q COPY D:\<source folder>\*.* D:\<destination folder> /y Noel Paton | Nil Carborundum Illegitemi | CrashFixPC | The Three-toed Sloth
May 30th, 2012 4:51am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics