var filenames = Directory.GetFiles(filepath, "*.DXT"); foreach (var filename in filenames) //Here i am reading the file for some operations.. var readFile = File.ReadAllLines(filename); List<string[]> instantPackets = readFileAccProtocol.packet(obj["instant"]["header"].ToString(), readFile);
File.Move(filename, moveTo);
moveToFullPath = Path.Join(moveTo, Path.GetFileName(filename)); File.Move(filename, moveToFullPath);
string file = @"D:\Test Data\MyFile.json"; string dest = Path.Combine(@"D:\Test Data\Test", Path.GetFileName(file)); File.Move (file, dest);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)