Re: A win32file.ew question.

new topic     » goto parent     » topic index » view thread      » older message » newer message

I filled my temp folder full of *.txt files only
with no other apps running and still deleteFile() returned 0
I think its something to do with the "show files" screen windows produces
for the windows directory protection.
My computer has a "show files" screen when double click on windows
directory.
----- Original Message ----- 
From: "Derek Parnell" <ddparnell at bigpond.com>
To: <EUforum at topica.com>
Subject: Re: A win32file.ew question.


>
>
> ----- Original Message ----- 
> From: Hayden McKay
> To: EUforum at topica.com
> Sent: Saturday, December 06, 2003 6:02 PM
> 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
>
>
>
> TOPICA - Start your own email discussion group. FREE!
>
>
> -- 
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.545 / Virus Database: 339 - Release Date: 28/11/03
>


---



--

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu