How can i synchronize directories in Explorer-Views whit xcopy.exe?
This goes wonderfully with the help of transfer parameters in XCOPY.EXE. That's a pretty brisk business.
The synchronization of directories with the help of transfer parameters to XCOPY.EXE. Similar and also useful to when you use the file rename commands several times in the file explorers!
Here an example of synchronizing directories: Folder in Q-view 1 as a source and Q-view 2 as the destination folder.
The command is:
XCOPY/Folder v1>v2=%sysdir%/xcopy.exe="%curdir1%\*.*" "%curdir2%" /S /E /C /H /O /R /Y /D /V
or only folder tree:
XCOPY/FolderTree v1>v2=%sysdir%/xcopy.exe="%curdir1%\*.*" "%curdir2%" /T /E
Tip: You can also use this for ROBOCOPY or for other move copy scripts!
Read this: ► Associating files with programs!
source Specifies the file(s) to copy.
destination Specifies the location and/or name of new files.
||Copies directories and subdirectories except empty ones.
||Copies directories and subdirectories, including empty ones. Same as /S /E. May be used to modify /T.
||Continues copying even if errors occur.
||Copies hidden and system files also.
||Copies file ownership and ACL information.
||Overwrites read-only files.
||Suppresses prompting to confirm you want to overwrite an existing destination file.
||Copies files changed on or after the specified date. If no date is given, opies only those files whose source time is newer than the destination time.
||Verifies each new file.
Associating files on a portable installation with programs in the portable locations?
Is there a way to start Q-Dir with a parameter of path? E.g, I can do this with?
FAQ 40: Updated on: 24 February 2020 16:09
Q-DIR - FAQ-40: How can i synchronize directories in Explorer-Views whit xcopy.exe?
ist valid for Microsoft (c): Windows 10
: Pro, Enterprise, Home,
Windows and 8.1
: Enterprise, Pro, Home
: Enterprise, Home, Basic, Premium, Professional, Starter, Ultimate
Windows-Server 2016, 2012, 2008, 2005 .
|Asked questions on this answer:|
- Can you set Q-Dir so that the date (creation and modification, etc.) for the copied folders and files is not changed when copying?
Keywords: synchronize, directories, q-dir, whit, xcopy, Questions, Answers, Software