Ok, now i understand what you mean...
Each line's lenght is more than 200 characters...
In that case, i pass, sorry.
>Yes it's new to VFP6. Instead you could try :
>
>lnHandle=fcreate('mytest.txt')
>=fwrite(lnHandle,replicate(replicate('A',200)+'B'),5),1024)
>=fclose(lnHandle)
>
>Cetin
>
>>Sorry, i have VFP5, if StrToFile() a new command??
>>If so, what other command(s) can i use?
>>
>>>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