macost Posted January 16, 2007 Share Posted January 16, 2007 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 Link to comment Share on other sites More sharing options...
MHz Posted January 16, 2007 Share Posted January 16, 2007 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. Link to comment Share on other sites More sharing options...
Leandro Conca Posted January 16, 2007 Share Posted January 16, 2007 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! Link to comment Share on other sites More sharing options...
macost Posted January 16, 2007 Author Share Posted January 16, 2007 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........ Link to comment Share on other sites More sharing options...
macost Posted January 16, 2007 Author Share Posted January 16, 2007 help me Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now