Computing.Net > Forums > Windows XP > Xcopy to exclude file types help

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

Reply to Message Icon

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?

Thanks



Sponsored Link
Ads by Google

Response Number 1
Name: Valerie (by Garibaldi)
Date: May 15, 2007 at 22:29:44 Pacific
Reply:

At the Command Prompt type Xcopy/? | more and have a look at the Exclude parameter.

Good luck


0

Response Number 2
Name: zappadragon
Date: May 16, 2007 at 16:34:57 Pacific
Reply:

I have read that and tried to add the exclude but it never works


0

Response Number 3
Name: Razor2.3
Date: May 16, 2007 at 20:35:59 Pacific
Reply:

Step 1: Type this line:
echo .xml > c:\noxml

Step 2:
xcopy \\10.0.0.1\Folder\logs "C:\Documents and Settings\Joe\My Documents\logs" /e/v/s/i/y /exclude:c:\noxml


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows XP Forum Home


Sponsored links

Ads by Google


Results for: Xcopy to exclude file types help

How to convert music file type www.computing.net/answers/windows-xp/how-to-convert-music-file-type/51912.html

Exclude file types in searches www.computing.net/answers/windows-xp/exclude-file-types-in-searches/149465.html

Add file types to Recent Documents? www.computing.net/answers/windows-xp/add-file-types-to-recent-documents/26580.html