simplest sequence (not recommended for large files) without error checking
read filename(s).
open file with given name for read-only
read entire file into buffer
close input file
open file for output as write-only
write buffer from the end one byte at a time
close output file
jwenting
duckman
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337