Click here to Skip to main content
15,867,777 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi ,
I am working in C#.Net Project.I have bunch of files in a Particular folder.I want to merge in Single file and I move to another folder.Here i give an Example
For Example:
Source Folder Name: Source
Source Files : Nan.txt,Nan1.txt,Nan2.txt.
Designation Folder Name :Designation
Designation File: CNan.txt
How to achieve this?Please help me...
Thanks in Advanced
Regards,
Lakshmi Narayanan.S
Posted
Comments
Dr.Walt Fair, PE 5-Aug-11 0:24am    
Have you tried anything yet? If so what was the result?

1 solution

I'm not sure what you mean by "merge," but if you just want to append the files one after another into the single file, you could open an output file stream wherever you want to store it and copy each of the input files to it in whatever order you want.
 
Share this answer
 
Comments
naraayanan 5-Aug-11 4:26am    
Thanks

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900