Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Xcopy to exclude file types help
Name: zappadragon Date: May 15, 2007 at 18:28:59 Pacific OS: XP CPU/Ram: 512 Product: Dell
Comment:
I am trying to use xcopy to copy a log folder from one pc to another. I have it setup and working but I want it to exclude the file extention .xml , how would I do that? Here is my command line:
xcopy \\10.0.0.1\Folder\logs "C:\Documents and Settings\Joe\My Documents\logs" /e/v/s/i/y
What would I add to exclude it from copying all .xml file?
Summary: The easiest way to exclude a file type is to specify a file type or types to look for. eg: *.doc;*sales.xls;*32206.txt Find all .doc files and all .xls files that has "sales.xls" in it's name and all ...