Sorry, it's Friday, I mixed up the parameters.
strtofile(trim(ps),newpath,1)
>Oh..Something went wrong..It created a lot of file of each file name as Name of the Line inside Text file.
>
>Noo text was written inside the file. The file was blank from inside.. Here is what i did
>
>
> Create Cursor BILLCOMPRESS (PS C(254))
> Append From (m.CPSFILEPATH) Sdf
> Set Textmerge On
> Set Textmerge To (m.NEWPATH) Noshow
> Scan
>*\\<< TRIM(PS) >>
>*\
> strtofile(m.newpath,trim(ps),1)
>
> Endscan
> Set Textmerge To
> Set Textmerge Off
>
>
>
>
>Regards
>
>
>>I don't think Text-Endtext is well suited in this case. Have you tried strtofile()? Something like this should work.
>>
>>Create Cursor BILLCOMPRESS (PS C(254))
>>Append From (m.CPSFILEPATH) Sdf
>>scan
>> strtofile(trim.newpath,trim(ps),1)
>>Endscan
>>
>>
>>>I am changng some text inside Text file (in Pact Post Script files).
>>>
>>>When I opened the original PS file in classic Notepad in Windows, all the text looks like garbage and difficult to trace the locations. However I inserted my required text and re-write the entire file back using the following command.
>>>
>>>
>>>Create Cursor BILLCOMPRESS (PS C(254))
>>>Append From (m.CPSFILEPATH) Sdf
>>>Set Textmerge On
>>>Set Textmerge To (m.NEWPATH) Noshow
>>>Scan
>>>\\<< TRIM(PS) >>
>>>\
>>>Endscan
>>>Set Textmerge To
>>>Set Textmerge Off
>>>
>>>
>>>Now, the text has been written back and file is working properly, but the Text Inside that is displayed in separate Line by Line.
>>>I need to keep my Text in Original (GARBAGE STYLE) so that it may be quite difficult for someone to read easly.
>>>
>>>Please open this FIle to see how text is displayed in Garbage style.Kindly Guide How to do this any delimiter. Here is my file, please open in Classic Notepad to see.
>>>
>>>
https://www.dropbox.com/s/y210d15ourro5c5/1021165998.ps>>>
>>>Regards
>>>
>>>
>>>
>>>
>>>
>>>