Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Writing to Text file
Message
From
13/12/2013 12:40:05
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Writing to Text file
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01590155
Message ID:
01590155
Views:
84
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





Harsh
Next
Reply
Map
View

Click here to load this message in the networking platform