Huh... To add to my reply to Troll...
It is the specific case, that is asked in the original message:
"Temporary Internet Files" folder.
T...I...F... folder of current user contains the undeletable file
index.dat (it is in use by Explorer). So I supposed that if to do
RD "Temporary Internet Files" folder -- that will delete all files and
folders in it except index.dat in "Content.IE5" folder. What will not
allow folders "Temporary Internet Files" and "Content.IE5" to be
deleted. And actually, command:
RD /S /Q "C:\Documents and Settings\Mikhail\Local Settings\Temporary
Internet Files"
causes an error message:
C:\Documents and Settings\Mikhail\Local Settings\Temporary Internet
Files\Content.IE5\index.dat - The process cannot access the file because
it is being used by another process.
while all other files and subfolders are deleting. Files "desktop.ini"
in "Temporary Internet Files" and "Content.IE5" folders will be
re-created during the first run of IE.
--
Mikhail Zhilin
http://www.aha.ru/~mwz
Sorry, no technical support by e-mail.
Please reply to the newsgroups only.
======