J Jochen Kalmbach Mar 25, 2004 #2 =?Utf-8?B?U2l2YXJhag==?= said: How can i delete a readonly file without changing file attributes Click to expand... You can´t. <msdn> If the file is a read-only file, the function fails with ERROR_ACCESS_DENIED. To delete a read-only file, you must first remove the read-only attribute. </msdn> -- Greetings Jochen Do you need a memory-leak finder ? http://www.codeproject.com/tools/leakfinder.asp Do you need daily reports from your server ? http://sourceforge.net/projects/srvreport/
=?Utf-8?B?U2l2YXJhag==?= said: How can i delete a readonly file without changing file attributes Click to expand... You can´t. <msdn> If the file is a read-only file, the function fails with ERROR_ACCESS_DENIED. To delete a read-only file, you must first remove the read-only attribute. </msdn> -- Greetings Jochen Do you need a memory-leak finder ? http://www.codeproject.com/tools/leakfinder.asp Do you need daily reports from your server ? http://sourceforge.net/projects/srvreport/