惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

H
Help Net Security
博客园_首页
酷 壳 – CoolShell
酷 壳 – CoolShell
G
Google Developers Blog
Jina AI
Jina AI
C
Check Point Blog
Apple Machine Learning Research
Apple Machine Learning Research
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
GbyAI
GbyAI
Last Week in AI
Last Week in AI
罗磊的独立博客
Hugging Face - Blog
Hugging Face - Blog
阮一峰的网络日志
阮一峰的网络日志
The Cloudflare Blog
M
MIT News - Artificial intelligence
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
J
Java Code Geeks
WordPress大学
WordPress大学
博客园 - 聂微东
月光博客
月光博客
博客园 - 司徒正美
T
The Blog of Author Tim Ferriss
大猫的无限游戏
大猫的无限游戏
Microsoft Security Blog
Microsoft Security Blog

博客园 - 石牌村夫

oracle数据库中sql语句性能提升之to_char改造 类似爱情 UpdatePanel里面弹出确认按纽 JS实现标签页选中 - 石牌村夫 - 博客园 按纽弹出确认框代码 - 石牌村夫 - 博客园 repeater内按纽值的获取 - 石牌村夫 - 博客园 把oracle表进行整理 ORA-01036: 非法的变量名/编号 WinForm程序启动时不显示主窗体 oracle里面where的条件及null值的判断 treeview显示文件夹目录 FCKeditor換表情--洋蔥頭(转) 我的十一线路图 页面延时跳转 - 石牌村夫 - 博客园 夜难眠 关于人品一二事 弹窗返回值 - 石牌村夫 - 博客园 每一份生存的背后都是汗水 小悟一篇
C# 调用外部命令行程序
石牌村夫 · 2009-09-22 · via 博客园 - 石牌村夫

Code
            Process myProcess = new Process();
            ProcessStartInfo myProcessStartInfo 
= new ProcessStartInfo(Server.MapPath("test.bat"));
            myProcessStartInfo.UseShellExecute 
= false;
            myProcessStartInfo.RedirectStandardOutput 
= true;
            myProcess.StartInfo 
= myProcessStartInfo;
            
//设置不显示窗口
            myProcess.StartInfo.CreateNoWindow = true;
            myProcess.Start();
            myProcess.Close();