实现效果:
知识运用:
File类的Copy方法
实现代码:
private void Form1_Load(object sender, EventArgs e) { File.Copy(Application.ExecutablePath,@"C:\Copy_2.exe",true); label2.Text = @"C:\Copy_2.exe"; }