C#如何将某个文件(txt/dll/bin/msi...)强制作为exe可执行程序运行
[DllImport("kernel32.dll")]
public static extern int WinExec(string
exeName, int operType);
public Form1()
{
InitializeComponent();
}
private void button1_Click(object
sender, EventArgs e)
{
WinExec(@"D:\project\LiuLun\LiuLun.Browser.Demo5\App\pdf.dll",1);
}