- 1、本文档共3页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
CommandDictionary--SHELL命令模式参数说明.PDF
Command Dictionary ‐‐ SHELL
命令模式
SHELL command [parameters] [/HIDE] [/WAIT] [/LAUNCH|/SPAWN]]
Executes the program or batch file represented by command.
执行所调用的程序或批处理文件。
SHELL OPEN document.ext [/SPAWN]
Opens a document using the application associated with its extension.
根据文件的扩展名,用相关程序打开文件。
参数说明
command
The name of a file (path may be included) or intrinsic operating system command. If a
file, it must have an extension of .EXE, .COM, or .BAT. Relative filespecs may be
found in the current, library, program, or path directories.
可执行文件(可包含其路径)或操作系统内部命令。如果是可执行文件,其拓展名必须为.EXE,
.COM, 或 .BAT 。相关文件可以包含在当前文件夹,库文件夹,程序所在文件夹或所指的路
径中。
parameters
Information to be passed to the command as parameters.
传递到程序中的参数。
document.ext
The name of a document file whose extension .ext is associated by the operating
system with an application program. Relative filespecs may be found in the current,
library, program, or path directories.
文件名,其拓展名.ext 已关联到操作系统的具体应用程序。相关文件可以包含在当前文件夹,
库文件夹,程序所在文件夹或所指的路径中。
/HIDE
Causes the executed program to be invisible. Beware that the program will be left
hanging if it requires any user input.
隐藏执行程序。注意:如果程序需要任何用户输入,则程序将停滞。
/WAIT
Causes the main program to wait when the external program finishes executing until a
command prompt shell window showing external program output is closed by the
user.
当外部程序执行完毕后,使主程序处于等待状态,直到命令提示“shell ”窗口,外部程序输出被
用户关闭。
/LAUNCH
Causes the main program to continue while the external program is executing
(cannot be used with /WAIT).
19 March 2014 (10‐SHELL.1) Rev. F Page: 1/
Command Dictionary ‐‐ SHELL
当执行外部程序时,继续运行主程序(不能和参数/WAIT 一起使用)。
/SPAWN
Like /LAUNCH except the given program is executed directly, instead of through an
intermediate command prompt shell window. This precludes using /SPAWN with .BAT
files or intrinsic commands.
文档评论(0)