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: | 904 |
| Nodes: | 20 (0 / 20) |
| Uptime: | 496994:55:55 |
| Calls: | 15,580 |
| Calls today: | 1 |
| Files: | 5,306 |
| D/L today: |
4 files (8,192P bytes) |
| Messages: | 668,701 |