Jump to content

capdav

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by capdav

  1. I think this bug has been talked about in various forms. However now I am seeing it with my custom application settings with the REMOVESELF option. Only files in the directory tree are removed, NOT the folders. Having a look in FileMon (Sysinternals) may give some clues. It may be that in your recurse code that you have logic and have a file lock on the directory causing it to have the "CANNOT DELETE" error. Any ideas?

     

     

    8:14:31 AM	CCleaner.exe:2616	DIRECTORY	C:\Documents and Settings\ezhang\Start Menu\Programs\	NO MORE FILES	FileBothDirectoryInformation	8:14:31 AM	CCleaner.exe:2616	CLOSE	C:\Documents and Settings\ezhang\Start Menu\Programs\	SUCCESS		8:14:31 AM	CCleaner.exe:2616	OPEN	C:\Documents and Settings\ezhang\Start Menu\Programs	SUCCESS	Options: Open Directory  Access: All	8:14:31 AM	CCleaner.exe:2616	QUERY INFORMATION	C:\Documents and Settings\ezhang\Start Menu\Programs	SUCCESS	FileAttributeTagInformation	8:14:31 AM	CCleaner.exe:2616	DELETE 	C:\Documents and Settings\ezhang\Start Menu\Programs	CANNOT DELETE		8:14:31 AM	CCleaner.exe:2616	CLOSE	C:\Documents and Settings\ezhang\Start Menu\Programs	SUCCESS		8:14:31 AM	CCleaner.exe:2616	DIRECTORY	C:\Documents and Settings\ezhang\Start Menu\	NO MORE FILES	FileBothDirectoryInformation	8:14:31 AM	CCleaner.exe:2616	CLOSE	C:\Documents and Settings\ezhang\Start Menu\	SUCCESS		8:14:31 AM	CCleaner.exe:2616	OPEN	C:\Documents and Settings\ezhang\Start Menu	SUCCESS	Options: Open Directory  Access: All	8:14:31 AM	CCleaner.exe:2616	QUERY INFORMATION	C:\Documents and Settings\ezhang\Start Menu	SUCCESS	FileAttributeTagInformation	8:14:31 AM	CCleaner.exe:2616	DELETE 	C:\Documents and Settings\ezhang\Start Menu	CANNOT DELETE		8:14:31 AM	CCleaner.exe:2616	CLOSE	C:\Documents and Settings\ezhang\Start Menu	SUCCESS		8:14:31 AM	CCleaner.exe:2616	DIRECTORY	C:\Documents and Settings\ezhang\	NO MORE FILES	FileBothDirectoryInformation	8:14:31 AM	CCleaner.exe:2616	CLOSE	C:\Documents and Settings\ezhang\	SUCCESS		8:14:31 AM	CCleaner.exe:2616	OPEN	C:\Documents and Settings\ezhang	SUCCESS	Options: Open Directory  Access: All	8:14:31 AM	CCleaner.exe:2616	QUERY INFORMATION	C:\Documents and Settings\ezhang	SUCCESS	FileAttributeTagInformation	8:14:31 AM	CCleaner.exe:2616	DELETE 	C:\Documents and Settings\ezhang	NOT EMPTY		8:14:31 AM	CCleaner.exe:2616	CLOSE	C:\Documents and Settings\ezhang	SUCCESS		

     

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.