2021
05-02
05-02
C# 调用exe传参,并获取打印值的实例
调用方法:stringbaseName=System.IO.Directory.GetCurrentDirectory();//baseName+"/"//stringfileName=@"C:\Users\59930\Desktop\20170605\WindowsFormsApp1\WindowsFormsApp1\WindowsFormsApp1\bin\x86\Debug\WindowsFormsApp1.exe";stringfileName=baseName+@"\CardRead.exe";stringpara="1.exe"+code;Processp=newProcess();p.StartInfo.UseShellExecute=false;p.StartInfo.Redire...
继续阅读 >