文件夹操作
来源:互联网 发布:淘宝扣分清零时间 编辑:程序博客网 时间:2024/05/14 01:13
string foldername = "."""; if (folderBrowserDialog1.ShowDialog() == DialogResult.OK) { foldername = folderBrowserDialog1.SelectedPath; } if (System.IO.Directory.Exists(foldername)) { System.IO.DirectoryInfo di = new System.IO.DirectoryInfo(foldername); System.IO.FileInfo[] fi = di.GetFiles("*.wmf"); if (fi.Length != 0) { foreach (FileInfo f in fi) { MessageBox.Show(f.ToString()); } } }
0 0
- 文件夹操作
- 文件夹 操作
- 文件夹操作
- 文件夹操作
- 操作文件夹
- 文件夹操作
- 文件夹操作
- 文件夹操作
- 文件夹操作
- 文件夹操作
- 文件夹操作之----删除文件夹
- 文件、文件夹的操作
- 文件夹,txt文件操作
- VB.net文件夹操作
- 文件夹操作命令
- Java 操作文件, 文件夹
- JAVA操作文件夹
- C#文件/文件夹操作
- 数值格式化参数收集
- CDataGrid
- ListView 到 Excel
- 关于验证
- DataGrid导出到Ex el, 自动获取列标识
- 文件夹操作
- C# 打开外部文件
- c# 后台程序
- C# 中的字体
- User Define Message
- Construct Binary Tree from Preorder and Inorder Traversal - Leetcode
- VMware虚拟机关闭后托盘运行设置
- 读写操作,文件和注册表
- C# WinForm构架下的DirectX框架