macost 0 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 Share this post Link to post Share on other sites
MHz 80 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. Share this post Link to post Share on other sites
Leandro Conca 0 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! Share this post Link to post Share on other sites
macost 0 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........ Share this post Link to post Share on other sites