![]()
[<<]Message[>>] [<<]Author[>>] [<<]Subject [<<]Thread
Number : 537 Date : 2001-08-06 Author : Ken Ross Subject : Re: Removal of Index.dat and Content.IE5 Folder Size(KB) : 2
Thank you! for your help. By using the following command the directorys and all files are removed. xxcopy16 C:\WINDOWS\Tempor~1\Content.ie5\ /RS /H /R /S /yy xxcopy16 C:\WINDOWS\COOKIES /RS /H /R /S /yy Ken Kan Yabumoto wrote: > Ken, > > I'm not sure if the files you are trying to delete in the directory > have the hidden and/or read-only attributes set. If that is the > case, the default file-selection switches skips hidden/system files > and will fail to perform on read-only files. > > So, if you have problems with the /RS operation, remember that > the /RS switch (and most other switches of "destructive" nature) > has conservative default settings. So, add /H (to include hidden/ > system files) and /R (to delete read-only files) unless you > want it otherwise. Also, if the directory has subdirectories > and you want to delete the files inside them, you need to > say /S as well. > > If this is for a batch file, you should suppress as much > user-prompts as possible. Here, although if you are lazy, > you may use the almighty /YY switch to suppress *ALL* prompts, > that is not what we recommend. Rather, learn specific switches > to suppress each and every user-prompt that XXCOPY generates > (it is time-consuming to learn all of the switches to suppress > myriad of warnings, but we stress that the warnings are for > good purposes and the blanket /YY switch simply defeats the > safeguard we put in place). Typically, with /RS, you may > consider the following > > /PD0 // to suppress the prompt for beginning of each > // subdirectory to process destructive operations > > /Y // to suppress the Delete Y/N? on each file > > /WD0 // to suppress warning on the root directory > // file-template specifier case. > > /S // to operate on subdirectories > > /ED // to preserve the subdirectories which becomes > // empty after the file-remove operation. Without > // this switch, empty directories will be removed. > > ------ > The above suggestions are all for the /RS switch in general. > But, the "Content.IE5" directory being a peculiar directory > made by Microsoft, it may have its own quirky behaviors. > > Kan Yabumoto > > ================================================================= > > At 2001-08-01 05:53, Ken Ross wrote: > >I am struggling with a way to delete the Index.dat file and the > >folder > >C:\windows\temporary Internet Files\Content.IE5 with a batch > >file. > > > >This is what I have tried: > >xxcopy "C:\windows\temporary Internet Files\Content.IE5\" /RS /yy > > > >but it doesn't work. > > > >Can anyone steer me in the right direction? > > > >Thanks, > >Ken > > > > > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ -- Ken
This message if part of XXCOPY's message Archive. The archive contains all the messages posted at Yahoo!Groups: XXCOPY.