How to divide one large file into several parts.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How to divide one large file into several parts

My file size is up to 600MB
It is impossible for me to load it to my buffer
I try to read 1MB and then process it. It works
But i still aim for dividing this .txt into at least 6 parts
Can you instruct me how to do this

Thanks in advance.
 
* =?Utf-8?B?c2Ft?= said:
How to divide one large file into several parts.

My file size is up to 600MB.
It is impossible for me to load it to my buffer.
I try to read 1MB and then process it. It works.
But i still aim for dividing this .txt into at least 6 parts.
Can you instruct me how to do this?

Have a look at the classes in the 'System.IO' namespace, 'FileStream',
'StreamReader', 'BinaryReader', 'StreamWriter', and 'BinaryWriter'.
 
Back
Top