【问题标题】:Run Word 2013 from command line从命令行运行 Word 2013
【发布时间】:2013-07-23 15:13:49
【问题描述】:

我们的一些客户有一个我们无法在内部重现的问题:Out 软件使用 MS-Word 生成套用信函。由于我们的一些客户使用 Office 2013,此功能将不再起作用。
我们试图重现这一点并检测到在受影响的系统上 Word 不会从命令行启动。通过开始菜单中的链接开始工作。它还可以从命令行启动 Excel。

有谁知道问题是什么以及如何解决?

【问题讨论】:

    标签: command-line ms-word ms-office office-2013 word-2013


    【解决方案1】:

    您可以尝试从命令行使用 start.exe:

    c:> start winword
    

    我不熟悉它,但尝试过它,它在 Windows 7 和 Office 2007 上对我有用。找到 this 站点 (windows-commandline.com)。他们声称它适用于所有版本的 Word。

    【讨论】:

    【解决方案2】:

    仅供参考,类似于 Word 用于 Excel 的命令行和参数

    c:\> start excel "file path and location"
    
    c:\> start excel "c:\somepath\myfile.xlsx"
    

    帮助我们打开在 VB 6.0 for Excel 2013 中创建的文件

    c:\excel does not work on command line for us either
    

    我认为 WinWord 也可以使用文件参数。

    c:\> start winword "c:\somepath\myfile.doc"
    

    【讨论】:

      【解决方案3】:

      我们找到了解决方案: 我们的软件仍然使用旧的 8.3 文件名 - 长文件名也被替换为短文件名。而且 Office 2013 似乎不再喜欢它们了。

      【讨论】:

        【解决方案4】:

        这是 Office 2013 中的可执行位置和文件,如快捷方式中所列。在 Win 8 32 位中,您也无法使用 winword 启动它。

        "C:\Program Files\Microsoft Office 15\root\office15\winword.exe"
        

        【讨论】:

          【解决方案5】:

          尝试通过按 windowsbutton+R 来使用运行提示。运行提示将打开,然后键入 winword 打开 MS Word 和 excel 打开 MS Excel。

          【讨论】:

            猜你喜欢
            • 1970-01-01
            • 2018-01-30
            • 2013-04-11
            • 1970-01-01
            • 1970-01-01
            • 2014-11-07
            • 2013-10-17
            • 2015-09-01
            • 2016-06-16
            相关资源
            最近更新 更多