Io文件批处理
namespace ConsoleApp1 { class Program { static void Main(string[] args) { string path = @"F:\Newgrand_Project\G6H_5.1R_JS\BusinessDlls"; string path2 = @"D:\软件\NGWebSite"; string prefix = @"GJS3.JS."; List<string> binFileNames = new List<string> { "Controller.dll", "Model.dll" }; List<string> ruleFileNames = new List<string> { "Dac.dll", "Dac.Interface.dll", "Facade.dll", "Facade.Interface.dll", "Rule.dll", "Rule.Interface.dll", "Service.dll", "Service.Interface.dll" }; binFileNames.ForEach(p => { Console.WriteLine($"{path}\\bin\\{prefix}{p} to {path2}\\bin\\{prefix}{p}"); File.Copy($"{path}\