csharp loop_throught_all_file_in_folder
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了csharp loop_throught_all_file_in_folder相关的知识,希望对你有一定的参考价值。
private void loop_throught_all_file_in_folder2()
{
string path = @"F:\Dropbox\Develope\Csharp\Sharp-developer\extract_data_from_request_site\extract_data_from_request_site\bin\Debug\test\";
foreach (string filePath in Directory.GetFiles(path))
{
string _full_path_folder_file = filePath.ToString();
string _full_path_folder_name = Path.GetDirectoryName(filePath);
string _full_file_name = Path.GetFileName(filePath);
// MessageBox.Show(_full_path_folder_file);
// MessageBox.Show(_full_file_name);
//MessageBox.Show(_full_path_folder_name);
move_file(_full_path_folder_file, _full_path_folder_name + "\\done\\"+_full_file_name);
}
}
以上是关于csharp loop_throught_all_file_in_folder的主要内容,如果未能解决你的问题,请参考以下文章
17._4Csharp中正则表达式的匹配
csharp 00_SimpleButton.md
csharp CullOff._full.cs
csharp SlimDX_0.cs
csharp automapper_2.cs
csharp automapper_1.cs