文件名称:目录生成 CreateDirectory 文件夹操作实例
文件大小:43KB
文件格式:RAR
更新时间:2015-04-11 08:53:29
CreateDirectory 文件夹操作实例
string directory; string direlist=this.TXTList.Text; string[] txtLines = direlist.Split(new char[] { '\n', '\r' }, StringSplitOptions.RemoveEmptyEntries); foreach (string str in txtLines) { directory=this.TXTDirectory.Text+'\\' +str; if (!Directory.Exists(@directory)) {