Çocuklar _DONE ile biten tüm dosyaları başka bir klasöre taşımaya çalışıyorum. Dosyaları bir klasörden diğerine taşıma C#
Ben//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);
Ama bir hata diyerek olsun bu kodları yürütme üzerinde
çalıştı.The given path's format is not supported.
Nerede hata yaptım?
Pencerede dosya aktarımını destekliyor mu bilmiyorum '_' – Rohit