I want to perform some tasks with XCOPY and need the detailed syntax forit.
I want to copy all files with the extensions *.log and *.dat (only those!) in the directory D:\aaadir
(and recursively in the subdirectories) to the target directory E:\bbbdir.e.g. *.log then in the targetdir
If one of the subdirectories in D:\aaadir contain a file which matches
the same directory should be created (or if already existing it should beused instead).
All other files should be touched.
How do I specify the appropriate XCOPY command ?
XCOPY syntax show only options to EXCLUDE files but NOT to INCLUDE them.
cu
Peter
Sysop: | Gate Keeper |
---|---|
Location: | Shelby, NC |
Users: | 785 |
Nodes: | 20 (0 / 20) |
Uptime: | 210:34:25 |
Calls: | 11,917 |
Calls today: | 3 |
Files: | 5,294 |
D/L today: |
57 files (53,090K bytes) |
Messages: | 553,352 |