MirjanaBojanic123
Programmer
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
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