![]()
[<<]Message[>>] [<<]Author[>>] Subject Thread[>>]
Number : 22 Date : 2001-05-14 Author : Kan Yabumoto Subject : Re: The old favorite query - can I just delete contnet of Content.IE5 via DOS command? Size(KB) : 2
Van: The idea of XXCOPY is to do most file-management jobs by itself. So, before searching for a solution elsewhere to delete certain files in the directory, try to see whether there is a way to do it by XXCOPY. If you haven't used XXCOPY for file/directory removal, you should know that XXCOPY has evolved to be a general-purpose file management tool including the capabilities of removing files using the same flexibility as for file-copying. XXCOPY c:\*\Ocx*\ /RS // Removes all directories which start with Ocx // The \*\ sequence lets you match the // directory name in any level (and remove) The following switches eliminate confirmation prompts for this operation (XXCOPY is very conservative when it comes to removal). /RSY makes individual file-delete prompts go away /PD0 makes prompt-on-directory-deletion go away The following switch gives additional control of empty directory /ED preserves empty directories (leaves skeleton directory tree behind) To eliminate *ALL* confirmation prompts in XXCOPY, use /YY (but it is a very dangerous switch and I usually do not recommend it except for a well tested batch file). More specifically, If you are aksing how to remove the confirmation by deltree, the answer is DELTREE /Y c:\mydir\ocxdf2du The /Y before the path spec will suppress the confirmation Y/N prompts. Also, if you end the path name with a trailing backslash, the directory will be preserved after the contents are removed (as follows). DELTREE /Y c:\mydir\ocxdf2du\ -------- By the way, a few days ago, Jim Witherspoon, an XXCOPY enthusiast, started an XXCOPY discussion group in Yahoo. If you have questions regarding XXCOPY, become a member of the Yahoo discussion group. It allows you to subscribe to the mailing list, or just browse the postings. http://groups.yahoo.com/group/xxcopy Kan Yabumoto tech.xxcopy@d... ============================================================================ "Van" wrote in message news:ehe0aX#2AHA.2092@tkmsftngp03... >I know, its there somewhere, answered x times over, but let's face it, its >burried quite deep... >I talk about those funny named folders with thousands of thousands little >files, that keep bogging down the copy process in "Xxcopy /clone " ..get >BSOD > >I don't remember the command switch in 'del c:\...\*.* ' that deletes all >files without confirmation, one by one. >I know how to 'deltree c:\...\Ocxdf2du' etc. folders, but not their content. >So is it OK to delete all the funny folders inside the "c:\windows\temporary >internet files\ content.ie5\...." ? > >Thanks for paying attention, >Van >
This message if part of XXCOPY's message Archive. The archive contains all the messages posted at Yahoo!Groups: XXCOPY.