如何在 Windows XP 运行框中启动 Word/Excel/PowerPoint

Sta*_*tan 3 microsoft-office command-line windows-xp

在 Windows XP 运行框中运行 Word/Excel/PowerPoint 2003 或 2007。有没有办法做到这一点?

此外,它有任何论据吗?

uka*_*nth 13

您可以使用以下命令启动 Office word/excel/powerpoint,

Word - `winword`
Excel - `excel`
Powerpoint - `powerpnt`
Run Code Online (Sandbox Code Playgroud)

你可以使用像@Mehper C. Palavuzlar 提到的参数/

例如,

微软幻灯片软件 - powerpnt "C:\Users\admin\test.pptx"


Meh*_*lar 6

您可以使用带参数的命令行开关来运行 MS Office 程序。以下文章解释了详细信息:

例如,如果您在“运行”框中键入以下命令并按 Enter,它将以只读方式打开特定的 Excel 工作簿:

excel.exe /r "c:\My Folder\book1.xlsx"
Run Code Online (Sandbox Code Playgroud)

作为另一个示例,以下命令强制 Excel 绕过存储在启动目录中的所有文件,例如位于安装 Excel 或 2007 Microsoft Office 系统的目录中的默认 XLStart 文件夹。

excel.exe /s 
Run Code Online (Sandbox Code Playgroud)

或者

excel.exe /safemode
Run Code Online (Sandbox Code Playgroud)