Halcom 发表于 2022-8-30 23:46:17

C#程序调用cmd.exe执行命令运行.cs文件

C#程序调用cmd.exe执行命令,运行.cs文件
csc.exe在电脑路径:C:\Windows\Microsoft.NET\Framework

csc /out:E:\test\c.exe E:\test\c.cs

E:\test\c.cs   \\文件路径
E:\test\c.exe   \\编译输出路径


参考:
【1】https://www.jb51.net/article/239153.htm
【2】https://zhidao.baidu.com/question/262576235419531885.html
【3】https://blog.csdn.net/qq_36658051/article/details/85257324
【4】https://blog.csdn.net/otong/article/details/7352651
【5】http://t.zoukankan.com/jianghaidong-p-4582609.html
【6】https://blog.csdn.net/w809026418/article/details/4252315
【7】https://blog.csdn.net/had_meno/article/details/51011658
C#也自带干货:https://blog.csdn.net/wl1121/article/details/84705712
http://t.zoukankan.com/yeshenmeng-p-9441991.html



页: [1]
查看完整版本: C#程序调用cmd.exe执行命令运行.cs文件