Click here to Skip to main content
15,898,374 members

Comments by Techhubcoding (Top 4 by date)

Techhubcoding 30-Oct-19 15:35pm View    
The end result that works for me!
string userPath = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile);
File.Copy(userPath + @"\Appdata\Local\test.txt", userPath + @"\Desktop\test\test.txt");
Techhubcoding 30-Oct-19 15:24pm View    
Thanks!!!
Techhubcoding 30-Oct-19 15:09pm View    
But how do i define the file location after the return to the base folder?
Could you give an example please.
Thanks for the solution!
Techhubcoding 30-Oct-19 15:02pm View    
I still don't understand how it works...
Could you give an example please?