Hi there,

I am trying to write a file archiving utility, and the archiving has gone well. However i am trying to extract and i am having trouble. I was hoping someone could offer some help as i am very much a novice at C#.

Inside my archived file, i have a header for the file archived, then the contents of that file file, then a file footer, then a header for the second file and the contents and then a header, then another header etc.

For the extraction of the files, i want to read the first header file and create a file of the same name and then read from the archived file, and write to the new existing file the contents. I then want to read the header file for the second file, creating a second file and reading and writing it's contents to the second file created. I want to only use read(), write(), open(), close(), lseek() etc.

Hopefully this makes sense
If not, please ask for more information

Help will be much appreciated

Thank you