快捷导航 上传作品

[snap] grip 运行外部文件 (如 *.exe、*.dll、*.bat、网址)

[复制链接]
梅雷工具箱发表于 2015-6-25 10:34:19 | 显示全部楼层 |阅读模式
运行外部文件

如 *.exe、*.dll、*.bat、网址

string / str(132)
str='f:\everbox\egrip\app\boxsize.exe'
xspawn / str,iferr,end:
end:
halt


$$ GRIP打开我的电脑
string / STR(132)
STR='EXPLORER ::{20D04FE0-3AEA-1069-A2D8-08002B30309D}'
XSPAWN/CONCUR,'CMD.EXE','/C',STR

END:
HALT


$$ 运行外部文件  【不等待】【非模态窗口】
string / str(132)
str='f:\everbox\egrip\app\boxsize.exe'
xspawn / CONCUR,str,iferr,end:
end:
halt


_____________________________________________________________________________ _

中磊UG二次开发教程 梅雷著 qq1821117007
学UG就上UG网 http://www.9sug.com/
就上UG网淘宝直营店
回复

使用道具 评分 举报

您需要登录后才可以回帖 登录 | 注册UG网

本版积分规则