peaps,
Just created a dir file on my computer. it was about 10 MB. Your script works fine.
Created a big file like this:
Code:
copy dir1.txt+dir1.txt+dir1.txt+dir1.txt+dir1.txt+dir1.txt+dir1.txt dir.txt
Now I have a file of about 70 MB.
Your script with UNC path returns
Code:
Open file 0
First read: -1
Done
Scripts like I modified them:
This one is erratic
Code:
Break On
$x = Open(3,"\\"+@WKSTA+"\c$\dir.txt")
? "Open file " + $x
$line = ReadLine(3)
? "First read: " + @ERROR
While @ERROR = 0
? $line
$line = ReadLine(3)
Loop
? "Done"
$x = Close(3)
This one is OK
Code:
Break On
$x = Open(3,"c:\dir.txt")
? "Open file " + $x
$line = ReadLine(3)
? "First read: " + @ERROR
While @ERROR = 0
? $line
$line = ReadLine(3)
Loop
? "Done"
$x = Close(3)
I tested this with kix32.exe 4.52 and 4.53 Beta 1
IMHO this is an issue that should be moved to the "Beta forum".