Click here to Skip to main content
15,920,602 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
how can i copy one file to user system with C# ... plz help me
Posted
Comments
ArunRajendra 11-Jul-13 3:03am    
Be more clear.
raana1988 11-Jul-13 3:08am    
System.IO.File.Copy("D:\\Projects\\my.txt", "D:\\my.txt",true); how to do this code and where write its?
ArunRajendra 11-Jul-13 3:23am    
What's the error / exception you are getting?

1 solution

You write it how you just wrote it.. and you use it where in your program you want to copy a file. Be it a button click event, an MVVM command on a view model.... etc.
 
Share this answer
 

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