Technology Questions

Go Back   Technology Questions > Software Questions > Operating System Questions > Windows XP

Windows XP Discuss the Microsoft Windows XP Operating System

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 01-04-2007, 01:55 AM
dj_bell
Newsgroup Contributor
 
Posts: n/a
xcopy, delete files not in source

Hi, Can someone tell me if there is a parameter for deleting files in the
destination directory that are no longer in the source directory?
Thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 01-04-2007, 01:55 AM
  #2 (permalink)  
Old 01-04-2007, 01:55 AM
mactf
Newsgroup Contributor
 
Posts: n/a
RE: xcopy, delete files not in source



"dj_bell" wrote:

> Hi, Can someone tell me if there is a parameter for deleting files in the
> destination directory that are no longer in the source directory?
> Thanks!


We use a 3rd party program called xxcopy ( http://www.xxcopy.com ). They
have a free and 'pro' version too. Worth checking out.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #3 (permalink)  
Old 01-04-2007, 01:55 AM
Mark Dormer
Newsgroup Contributor
 
Posts: n/a
Re: xcopy, delete files not in source

Use Robocopy from the Windows 2003 resource kit tools
http://www.microsoft.com/downloads/d...DisplayLang=en

Regards
Mark Dormer


"dj_bell" <dj_bell@discussions.microsoft.com> wrote in message
news:2321EE90-5184-4E36-9349-CD2D4D05BDDB@microsoft.com...
> Hi, Can someone tell me if there is a parameter for deleting files in the
> destination directory that are no longer in the source directory?
> Thanks!


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #4 (permalink)  
Old 01-04-2007, 01:56 AM
Ghostrider
Newsgroup Contributor
 
Posts: n/a
Re: xcopy, delete files not in source


dj_bell wrote:

> Hi, Can someone tell me if there is a parameter for deleting files in the
> destination directory that are no longer in the source directory?
> Thanks!


Have used XCOPY for years, from its DOS days and do not believe
that such a capability exists. But what is the difference between
deleting the contents of a folder and then using XCOPY to copy
from the source to it? We used to run a batch file to accomplish
this in the DOS days.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #5 (permalink)  
Old 10-21-2008, 02:09 AM
Registered User
 
Join Date: Oct 2008
Posts: 1
saeniafr is on a distinguished road
Re: xcopy, delete files not in source

If you delete the contents of the destination folder, then you are putting unnecessary load to the CPU, or network if you are synchronizing folders over intranet. It's because you have to copy all the untouched files over.

Quote:
Originally Posted by Ghostrider View Post
dj_bell wrote:

> Hi, Can someone tell me if there is a parameter for deleting files in the
> destination directory that are no longer in the source directory?
> Thanks!


Have used XCOPY for years, from its DOS days and do not believe
that such a capability exists. But what is the difference between
deleting the contents of a folder and then using XCOPY to copy
from the source to it? We used to run a batch file to accomplish
this in the DOS days.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Access is denied" for files with .exe or zip extensions using Xcopy or Robocopy Di Cook Windows Vista 6 03-05-2008 05:50 PM
xcopy in vista not copying the files Santel Windows Vista 2 11-20-2007 12:30 AM
Cannot Delete folder (cannot read file source or disk) whatdaF Windows XP 1 06-13-2007 09:00 PM
Copy multiple files into a single file - xcopy? JornyO Windows XP 8 03-15-2007 01:16 PM
2 HUGE .TMP files - To Delete or NOT Delete...that is the question Mark D. Windows XP 9 01-04-2007 03:43 AM


New To Technology Questions? Do You Need Help with Your Computer or Device? Do You Need Help with this site?

All times are GMT -8. The time now is 06:36 AM.


2003 - 2009 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0