ITPub博客

首页 > Linux操作系统 > Linux操作系统 > C# - Process class instance run a .bat script

C# - Process class instance run a .bat script

原创 Linux操作系统 作者:bdbw2012 时间:2013-03-26 17:17:15 0 删除 编辑

Make sure the WorkingDirectory of the Process instance is correct so that the script. can be run correctly.

E.g. buildSampleProcess.StartInfo.WorkingDirectory = @"C:\NGE\VB.NET Client\SAMPLE";

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/28669558/viewspace-757197/ ,如需转载,请注明出处,否则将追究法律责任。

下一篇: control userpasswords2
请登录后发表评论 登录
全部评论

注册时间:2013-02-25

  • 博文量
    7
  • 访问量
    22586