Of course autoexec.bat has many lines that each end with chr(13)+chr(10) pair and each line is less than 200 in length.
Try with a binary file or :
StrToFile(replicate(replicate('A',200)+'B'),5),'mytest.txt')
Cetin
>No, i've done it and it works fine, i tryed with c:\autoexec.bat and the result is one record for each line in c:\autoexec.bat
>
>HTH.
>
>
>
>>Jonathan,
>>W/o knowing file content this might end up with one 200 chars record.
>>Cetin
>>
>>>Try this:
>>>1) Create a table with one field type character lenght 200
>>>2) open the table
>>>3) type this: append from e:\bigfile.txt delimited with tab
>>>
>>>It´s done!!!
>>>
>>>
>>>
>>>>Running on Win2K-AS/SP2 with 256mb of physical RAM and 1.6gb of pagefile.
>>>>
>>>>I have an 880-megabyte text file. The following code in VFP7/SP1 gives me the error "There is not enough memory to complete this operation".
>>>>
>>>>Clear
>>>>? Datetime()
>>>>cc = FileToStr("e:\bigfile.txt")
>>>>? Datetime()
>>>>
>>>>What can I do? I must load this file.