Re: A win32file.ew question.
- Posted by "Derek Parnell" <ddparnell at bigpond.com> Dec 06, 2003
- 480 views
----- Original Message ----- From: Hayden McKay Subject: A win32file.ew question. I want to use deleteFile() to delete some areas of of the WINDOWS directory eg TEMP, COOKIES etc... deleteFile() always returns 0 Faulse. When I delete files not in the windows directory deleteFile() returns 1 true. Is there some way around this. This is the code im currently using: [snip] The deleteFile() function cannot delete a file that is currently open or read-only. Another application may have the file(s) opened. -- Derek