Click here to Skip to main content
14,695,505 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HI ALL


in my code i get files from a directory in c# . loots of files there in the specific directory .then i do some processing on that files step by step now i want to write these output file in seperate directory .
i use createDirectory method for out put files wite in this directory
but how to write these output files in ouput directory .

else by default files written in the input folder

plz help how to write files in the output directory step by step all files


Regards
Posted

   
I suggest use File.Copy.

or if you want to cut from specific folder & past to output folder use File.Move
   

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