Horje
move file from one folder to another c# Code Example
move file from one folder to another c#
 //take all files of main folder to folder model_RCCMrecTransfered 
            string rootFolderPath = @"F:/model_RCCMREC/";
            string destinationPath = @"F:/model_RCCMrecTransfered/";
            string filesToDelete = @"*_DONE.wav";   // Only delete WAV files ending by "_DONE" in their filenames
            string[] fileList = System.IO.Directory.GetFiles(rootFolderPath, filesToDelete);
            foreach (string file in fileList)
            {
                string fileToMove = rootFolderPath + file;
                string moveTo = destinationPath + file;
                //moving file
                File.Move(fileToMove, moveTo);




Csharp

Related
Unity C# make object face away Code Example Unity C# make object face away Code Example
index of an enum c# Code Example index of an enum c# Code Example
get enum by index c# Code Example get enum by index c# Code Example
phone number regex in c# Code Example phone number regex in c# Code Example
how to make console wait c# Code Example how to make console wait c# Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
11