My experience with CLEAN_UP.BAT is that it works OK after booting to DOS, but with a DOS window, or DOS mode, stuff gets overlooked. It seems Windows just can't bring itself to part company with this junk.
On my system, these files are not 'read-only' or 'hidden', so my .BAT file can get them. If this isn't the case with your system, you may need to adjust the flags with the ATTRIB command.
ATTRIB -r -a -s -h *.*
('-' removes ReadOnly, Archive, System, and Hidden attributes, while '+' sets them. ATTRIB /? displays help.)
The index file can contain stuff which appear as files or folders with Explorer. DOS isn't brainy enough to do this.
Hope this helps, PW.
|