Re: [OT] files/dir on windoze
- Posted by "Juergen Luethje" <j.lue at gmx.de> Jul 11, 2004
- 593 views
Elliott Sales de Andrade wrote: >> From: Juergen Luethje >> Date: Thu, 08 Jul 2004 08:20:41 +0200 >> >> Irv Mullins wrote: >>> Juergen Luethje wrote: >>>> It took about 18 minutes on my old PC. The last file is '17000.txt', >>>> containing the line "This is file #17000". I looks as if everything is >>>> correct on my system (Windows 98, FAT32). >>>> I think you are using Windows 95, and FAT16, right? But using the FAT16 >>>> system shouldn't cause the problem, should it? >>> Perhaps you could try the test again, using long file names. >>> I'll bet it's either that (LFN) or FAT 16. >>> I haven't found any info on google about this, so it's not a very >>> common problem. >> >> Oops, I almost forgot about LFN. New program (as previously, using the >> exw.exe 2.4 interpreter BTW): >> Anything worked fine, up to file #08191 (inclusive). Then Euphoria said: >> "Can't create error message file: ex.err" >> >> Now it's your turn. >> > > I had about the same, but... 8191 text files, plus the program, the > error file was still written, though. "file number invalid (-1)" was the > error. I ran it in "D:\d". It took forever to try to delete the files, so i > just deleted the directory, and recreated the program. There were no > problems with the internet, or any other program, really. > Here is the program in Windows API. All it does is replace the builtin > functions. There's no error checking on write, which could be done, i > suppose. The error still occurs at the same time, though. I get an error > code of 82, which is ERROR_CANNOT_MAKE: "The directory or file cannot be > created." Unfortunately, this error message is not much more specific than Euphoria's error massage. Anyway, there is increasing evidence that this is a general Windows issue, isn't it? But nobody on this list has heard about it before ...? [snipped the code] Regards, Juergen