调用批处理
来源:互联网 发布:淘宝客分佣cms系统 编辑:程序博客网 时间:2024/06/14 01:32
using System.Diagnostics; //要加上这个命名空间
...................
Process p = new Process();
string path = HttpContext.Current.Request.PhysicalPath;
string file = path.Substring(0, path.LastIndexOf("/") + 1) + @"命令.bat";
p.StartInfo.FileName = file;
p.StartInfo.CreateNoWindow = true;
p.Start();
...................
Process p = new Process();
string path = HttpContext.Current.Request.PhysicalPath;
string file = path.Substring(0, path.LastIndexOf("/") + 1) + @"命令.bat";
p.StartInfo.FileName = file;
p.StartInfo.CreateNoWindow = true;
p.Start();
- 调用批处理
- 批处理调用存储过程
- 批处理实现函数调用
- C# 批处理调用方法
- 怎么调用批处理呢?
- 批处理调用java类
- Java调用批处理程序
- 批处理调用执行程序
- MFC调用.bat批处理
- 批处理--循环调用curl
- 批处理调用另外一个批处理问题
- 用批处理命令调用gpsbabel
- Java调用批处理或可执行文件
- Java调用批处理或可执行文件
- 批处理文件中调用其他批处理
- Java调用批处理或可执行文件
- Java调用批处理或可执行文件
- Java调用批处理或可执行文件
- Bugzilla简明使用手则
- Struts中配置Action
- Java/JSP中使用JDBC连接SQL Server 2005
- js动态取页面元素位置的方法
- ext-2.0扩展多选下拉框(代码及演示)
- 调用批处理
- 用Rysnc同步服务器文件
- RESTful GeoWeb学习手记(六):[译]GeoRSS-Simple编码规则
- AJAX新宠-Comet
- 求助日期列表前后页
- 如何在Linux系统编写 shell 脚本(初级)
- windows installer 右键 正在准备安装
- ASP常用的函数和说明
- 总结在线营销的几种方式