`
open2ye
  • 浏览: 98882 次
  • 性别: Icon_minigender_1
  • 来自: 温州
社区版块
存档分类
最新评论

隐藏运行一个bat

阅读更多

新建一个 *.vbs 文件

将以下两句复制进去

 

Set shell = Wscript.createobject("wscript.shell")
a = shell.run ("c:\windows\msdot\auto.bat",0)

 

OK了

 

另外
1、#隐藏窗口;
2、#普通激活;
3、#最小化激活;
4、#最大化激活;
5、#普通不激活;
6、#最小化不激活。如果省略本参数,默认为“普通激活”方式。


- delphi
winexec(pchar(ExtractFilePath(Application.ExeName)+'\WMS.exe'),SW_SHOW);

  • 大小: 48.4 KB
分享到:
评论
10 楼 open2ye 2007-10-06  
Cirrus Logic CS4299
4 楼 open2ye 2007-08-17  
http://192.168.1.63:2008/test_pdf

3 楼 open2ye 2007-08-17  
http://192.168.1.63:3002/test_pdf
2 楼 open2ye 2007-08-17  
http://192.168.1.63:3002/projects/gantt/1?month=7&year=2007&months=6&tracker_ids=&zoom=2&output=pdf
1 楼 open2ye 2007-08-17  
http://127.0.0.1:3000/booking_notes/export_hawb_pdf?output=pdf

相关推荐

Global site tag (gtag.js) - Google Analytics