Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to I merge two or multiple text file in fox pro.
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01033948
Message ID:
01033953
Views:
17
You can use functions like FILETOSTR() and STRTOFILE() this way:


mFile1 = filetostr(“myfile.txt)

mfile1 = mfile1 + chr(10) + fiiletostr(“myfile2”)
.
.
.

strtofilr(mfile1,”myresulfile”)

this is one way to do it.

>Hey guys,
>I am new to fox pro. However, I need code that will merge two or more text files or perhaps someone could point me to a reference source where I could research the code.
B.D.H.
Previous
Reply
Map
View

Click here to load this message in the networking platform