歡迎您光臨本站 註冊首頁

lotusscript執行外部命令

←手機掃碼閱讀     火星人 @ 2014-03-04 , reply:0

lotusscript執行外部命令

請問,在lotusscript里能像java里那樣System.getRuntime().exec()來執行外部命令嗎?
《解決方案》

你是指用shell???

Syntax
Shell ( program [ , windowStyle ] )
Elements
program
A string expression whose value is the name of the program to run, including arguments. program can be the name of an executable file that uses a file name extension of BAT, COM, PIF, or EXE. You can omit the file name extension, and you can optionally include a complete path specification.
Using an internal DOS command name generates an error.
windowStyle
Optional. A number designating a valid window style, as specified in the following table.

[火星人 ] lotusscript執行外部命令已經有453次圍觀

http://coctec.com/docs/service/show-post-26878.html