Sign in to follow this  
Followers 0
macost

exit file...

5 posts in this topic

how to close an archive without using fileclose?

Up you the 64 files can be open simultaneously by one AutoIt script. Exceeding this limit throws the error run-teams.

therefore I am opening and closing but this not functioning file close?

it appears these messages

Unable you open file, the maximum to number of open files has been exceeded.

tanks

Sou Brasileiro e nao desisto nunca

Share this post


Link to post
Share on other sites



therefore I am opening and closing but this not functioning file close?

Sorry, cannot guess the answer. Do you have a small test script that produces your problem.

Share this post


Link to post
Share on other sites

Are you using the FileClose correctly and the last version of AutoIt (3.2.2.0)?

I did some testing here and works fine. Created 100 files in a loop:

for $i=1 to 100
    $file=FileOpen("c:\windows\temp\file" & $i,2)
    FileClose($file)
next

Commenting the line FileClose generates the error!

Share this post


Link to post
Share on other sites

look error!!!!

CODE
CODE ERROR ====>> C:\Documents and Settings\mcosta\Desktop\teste.au3\RE.au3 (399) : ==> Unable to open file, the maximum number of open files has been exceeded.:

$readfile =FileOpen("C:\re.txt",2)

my version AutoIt (3.2.2.0)

what to make?

Sou Brasileiro e naum desisto nunca........

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0