发新话题
打印

请问如何在dir中实现打开word 文档的功能啊?

请问如何在dir中实现打开word 文档的功能啊?


具体是点机一个按钮打开一个word文档然后可以打印它。
请问这个语句应该怎样写呢?
谢谢谢谢了~

:em10:

TOP

请问如何在dir中实现打开word 文档的功能啊?

可以打开我word但是我不会再dir中打开

TOP

请问如何在dir中实现打开word 文档的功能啊?

open {file name} with {application name}

TOP

请问如何在dir中实现打开word 文档的功能啊?

[quote][b]下面引用由[u]一点点[/u]在 [i]2003/03/20 04:56pm[/i] 发表的内容:[/b]
open {file name} with {application name}
[/quote]
啊~~~~~~~~谢谢, 但是我不太明白application name是什么,我知道file name

比如在我的dir文件中想打开一个叫“first.doc”的文件,语句该怎么写呢?
帮我举个具体点的例子可以吗?谢谢~~~~~~~~~~~ :em10:

TOP

请问如何在dir中实现打开word 文档的功能啊?

open “first.doc的路径”with   word的路径

TOP

请问如何在dir中实现打开word 文档的功能啊?

例子:
open the moviepath & "word.doc" with the moviepath & "D:\Program\Microsoft Office\Office\WINWORD.EXE"

TOP

请问如何在dir中实现打开word 文档的功能啊?

[quote][b]下面引用由[u]一点点[/u]在 [i]2003/03/20 05:19pm[/i] 发表的内容:[/b]
例子:
open the moviepath & "word.doc" with the moviepath & "D:\Program\Microsoft Office\Office\WINWORD.EXE"
[/quote]

我这样写他不动

on mouseUp me
    open "1.doc" with "Winword.exe"
end
一定要写word的路径吗? 如果在其他人的电脑中运行不知道程序的路径该怎么办呢?
:em10:

TOP

请问如何在dir中实现打开word 文档的功能啊?

设置相对路径

TOP

发新话题