Re: [OT] files/dir on windoze
- Posted by "Juergen Luethje" <j.lue at gmx.de> Jul 08, 2004
- 562 views
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):
sequence number atom t integer fn t = time() for i = 1 to 17000 do number = sprintf("%05d", {i}) fn = open(number & " is the number of this file. Euphoria is cool." & " The weather is fine today.txt", "w") -- Each file name (including the extension '.txt') has 81 -- characters. The directory, in which I ran the program was -- 'c:\temp\'. So the full qualified name of each file consisted -- of 89 characters. puts(fn, "This is file #" & number) close(fn) end for t = time()-t ? t/60 puts(1, "minutes") if getc(0) then end if
Anything worked fine, up to file #08191 (inclusive). Then Euphoria said: "Can't create error message file: ex.err" Now it's your turn. Regards, Juergen