作者:朱金灿 来源:http://blog.csdn.net/clever101 1.重命名文件 var fso = new ActiveXObject("Scripting.FileSystemObject"); var strOldFile = "c:\\test.txt"; var strNewFileName = "new.txt"; var bfo = fso.GetFile(strNewPath); bfo.Name = strNew…
界面图: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.IO; namespace DotNet_TXT { public partial cl…