Can not remove file in windows because of "permission denied"

John Nielsen nielsenjf at my-deja.com
Wed May 17 17:42:29 EDT 2000


The file could have wierd attributes.

If you trying to remove it programatically, you may want to use

win32api.SetFileAttributes('filename', win32con.FILE_ATTRIBUTE_NORMAL)

and then try something like
os.remove


john


In article <8fmo5k$e5u$1 at news.uni-paderborn.de>,
  "Chr. Ullenboom" <C.Ullenboom at Java-Tutor.com> wrote:
> Hi,
>
> I want to remove a file (an rename) but I cannot. There is a
permission
> denied under Windows 2000, but it is my own file. What can I do?
>
>  Ulli
>
>

--
nielsenjf at my-Deja.com


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list