I have a C# code that moves a local file from folder to another following the code below:
File.Move("C:\folder1\file.txt","C:\folder1\folder2\");
this code moves the file.txt to folder2 my problem is the file.txt exists on a shared directory so i need to access it and move it to second folder like this
File.Move("\\shared directory\\folder1\\file.txt","\\shared directory\\folder2\\");
the code above didnt works any solution?