2

是否有机会从操作按钮打开位于(例如)C 驱动器中的文件/文档( .pdf / .txt )?

我阅读了 LotusScript 中的 Shell 函数,您必须在其中指定路径。

还有其他解决方案吗?

4

1 回答 1

2

If you want to open a file like .pdf or .txt and this extension is connected in Windows with a program to open with then you need only to specify the filepath of your file.

This would be the formula:

@Command([Execute]; "C:\\temp\\myFile.pdf")

and this the LotusScript code:

Dim result As Integer
result = Shell("C:\temp\myFile.pdf", 1)
于 2013-08-29T09:03:31.783 回答