Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

working with bin files

Status
Not open for further replies.

MirjanaBojanic123

Programmer
Jul 27, 2006
4
YU
I'm working with .bin files (for archiving file contents) and class IO.FileStream, which writes file content into .bin or extract file content from bin file.
But now I need function which deletes all files which begin after specified position.
Example: if there are 3 file contents written in .bin, and last 2 files are uncorrectly written, last 2 files must be deleted. *.Bin file should have only content of the 1th file at the end.
Does anyone know how to do this?
Thanks, Mirjana
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top