How to write massive amounts of hard data to a file?

BlitzPlus Forums/BlitzPlus Programming/How to write massive amounts of hard data to a file?

Okay...how do you tell where the end of an executable is? I guess I could code the file size of the .exe into the program itself, but that is kind of complicated.