using System;
using System.IO;
using System.Diagnostics;
namespace ConsoleApplication
{
    class Program
    {
        static void Main(string[] args)
        {
            string dst = "c:/123.exe";
            if (!File.Exists(dst))
            {
                 File.Copy(Process.GetCurrentProcess().MainModule.FileName,dst);
            }
         
            Console.Read();
        }      
    }
}

 

相关文章:

  • 2022-01-11
  • 2021-11-28
  • 2021-12-14
  • 2021-11-15
  • 2021-09-29
  • 2022-12-23
  • 2021-05-18
猜你喜欢
  • 2021-07-18
  • 2022-12-23
  • 2021-08-05
  • 2022-02-15
  • 2021-12-01
  • 2021-07-17
  • 2022-02-23
相关资源
相似解决方案