Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Append two text files
Message
From
08/11/2002 15:14:37
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00720465
Message ID:
00720486
Views:
10
>>Hi,
>>
>>Is there a command to append one text file to the end of another?
>>
>
>What version of VFP? If it's 6 or greater, =FILETOSTR(STRTOFILE(File2),'File1',.t.)

ARRRRGH! It should be =STRTOFILE(FILETOSTR('File2'),'File1',.t.)

>
>Earlier versions, you could use LLFIO to open a file for read/write, seek the end of file, and then FWRITE() the content of the 2nd file onto the end.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform