wolf0425 Цитата: ну-ка, поясни - каким конкретно оператором отсечется из лога а.tmpl, который присутствует в каталоге и совершенно очевидно не будет удален DEL, т.е. попадет в ветку else
Создал в корне диска "C:\" файл "а.tmpl", запустил батник, вот лог
[more]15:08:33>> File "C:\Documents and Settings\Gamer\Local Settings\Temporary Internet Files\Content.IE5\8J6BMRAL\wbk273.tmp" was deleted
15:08:33>> File "C:\Documents and Settings\Gamer\Local Settings\Temporary Internet Files\Content.IE5\8J6BMRAL\wbk275.tmp" was deleted
15:08:33>> File "C:\Documents and Settings\Gamer\Local Settings\Temporary Internet Files\Content.IE5\8J6BMRAL\wbk277.tmp" was deleted
15:08:33>> File "C:\Documents and Settings\Gamer\Local Settings\Temporary Internet Files\Content.IE5\8J6BMRAL\wbk279.tmp" was deleted
15:08:33>> File "C:\Documents and Settings\Gamer\Local Settings\Temporary Internet Files\Content.IE5\8J6BMRAL\wbk27B.tmp" was deleted
15:08:33>> File "C:\Documents and Settings\Gamer\Local Settings\Temporary Internet Files\Content.IE5\8J6BMRAL\wbk27D.tmp" was deleted
15:08:33>> File "C:\Documents and Settings\Gamer\Local Settings\Temporary Internet Files\Content.IE5\8J6BMRAL\wbk27F.tmp" was deleted
15:08:33>> File "C:\Documents and Settings\Gamer\Local Settings\Temporary Internet Files\Content.IE5\8J6BMRAL\wbk281.tmp" was deleted
15:08:33>> File "C:\Documents and Settings\Gamer\Local Settings\Temporary Internet Files\Content.IE5\8J6BMRAL\wbk283.tmp" was deleted
15:08:33>> File "C:\Documents and Settings\Gamer\Local Settings\Temporary Internet Files\Content.IE5\8J6BMRAL\wbk285.tmp" was deleted
15:08:33>> File "C:\Documents and Settings\Gamer\Local Settings\Temporary Internet Files\Content.IE5\8J6BMRAL\wbk287.tmp" was deleted
15:08:33>> File "C:\Documents and Settings\Gamer\Local Settings\Temporary Internet Files\Content.IE5\8J6BMRAL\wbk289.tmp" was deleted
15:08:33>> File "C:\Documents and Settings\Gamer\Local Settings\Temporary Internet Files\Content.IE5\8J6BMRAL\wbk28B.tmp" was deleted
15:08:33>> File "C:\Documents and Settings\Gamer\Local Settings\Temporary Internet Files\Content.IE5\8J6BMRAL\wbk28D.tmp" was deleted
15:08:33>> File "C:\Documents and Settings\Gamer\Local Settings\Temporary Internet Files\Content.IE5\8J6BMRAL\wbk28F.tmp" was deleted
15:08:33>> File "C:\Documents and Settings\Gamer\Local Settings\Temporary Internet Files\Content.IE5\8J6BMRAL\wbk291.tmp" was deleted
15:08:33>> File "C:\Documents and Settings\Gamer\Local Settings\Temporary Internet Files\Content.IE5\8J6BMRAL\wbk293.tmp" was deleted
15:08:33>> File "C:\Documents and Settings\Gamer\Local Settings\Temporary Internet Files\Content.IE5\8J6BMRAL\wbk295.tmp" was deleted
15:08:33>> File "C:\Documents and Settings\Gamer\Local Settings\Temporary Internet Files\Content.IE5\8J6BMRAL\wbk297.tmp" was deleted
15:08:33>> File "C:\Documents and Settings\Gamer\Local Settings\Temporary Internet Files\Content.IE5\8J6BMRAL\wbk299.tmp" was deleted
15:08:33>> File "C:\Documents and Settings\Gamer\Local Settings\Temporary Internet Files\Content.IE5\8J6BMRAL\wbk29B.tmp" was deleted
15:08:33>> File "C:\Documents and Settings\Gamer\Local Settings\Temporary Internet Files\Content.IE5\8J6BMRAL\wbk29D.tmp" was deleted
15:08:33>> File "C:\Documents and Settings\Gamer\Local Settings\Temporary Internet Files\Content.IE5\8J6BMRAL\wbk29F.tmp" was deleted
15:08:33>> File "C:\Documents and Settings\Gamer\Local Settings\Temporary Internet Files\Content.IE5\8J6BMRAL\wbk2A1.tmp" was deleted
15:08:33>> File "C:\Documents and Settings\Gamer\Local Settings\Temporary Internet Files\Content.IE5\8J6BMRAL\wbk2A3.tmp" was deleted
15:08:33>> File "C:\Documents and Settings\Gamer\Local Settings\Temporary Internet Files\Content.IE5\8J6BMRAL\wbk2A5.tmp" was deleted
15:08:33>> File "C:\Documents and Settings\Gamer\Local Settings\Temporary Internet Files\Content.IE5\8J6BMRAL\wbk2A7.tmp" was deleted
15:08:33>> File "C:\Documents and Settings\Gamer\Local Settings\Temporary Internet Files\Content.IE5\8J6BMRAL\wbk2A9.tmp" was deleted
15:08:33>> File "C:\Documents and Settings\Gamer\Local Settings\Temporary Internet Files\Content.IE5\8J6BMRAL\wbk2AB.tmp" was deleted
15:08:33>> File "C:\Documents and Settings\Gamer\Local Settings\Temporary Internet Files\Content.IE5\8J6BMRAL\wbk2AD.tmp" was deleted
15:08:33>> File "C:\WINDOWS\SET3.tmp" was NOT deleted
15:08:33>> File "C:\WINDOWS\SET4.tmp" was NOT deleted
15:08:33>> File "C:\WINDOWS\SET8.tmp" was NOT deleted
15:08:33>> File "C:\WINDOWS\CSC\csc1.tmp" was NOT deleted
[/more], найди там "а.tmpl", или запусти батник на своём компе!
Насчёт ключей, а я знаю, что какому либо пользователю оказывается не нужно удалять tmp файлы имеющие по какой-либо причине атрибут для чтения!