Windows批处理命令问题,启动excel temp.xls [英] Windows batch command question, start excel temp.xls

查看:115
本文介绍了Windows批处理命令问题,启动excel temp.xls的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否愿意

start excel temp.xls

操作系统将启动一个新的excel实例,并在该实例中打开AS.ATOTOMIC动作的工作簿temp.xls.

The os will start a new excel instance and open the workbook temp.xls in that instance, AS AN ATOMIC action.

现在我拥有的是

start excel
start temp.xls

通常,这两个命令会弄乱我的另一个excel实例,即在另一个已经打开了另一个工作簿的excel实例中打开temp.xls.

And most often these two command will mess up my other excel instance, ie, opening temp.xls in another excel instance that has another workbook already opened.

谢谢

推荐答案

当我认为时,"start excel temp.xls"将在由start启动的Excel实例中打开temp.xls, d出于安全考虑,如果您使用

While I think that "start excel temp.xls" will open temp.xls in the Excel instance started by start, you'd be on the safe side, if you use

  "<PathToExcel>excel" [/<opt>] "<PathToXls>temp.xls"

有关选择,请参见 cli for excel (选择您所用版本的文档).

For opt see cli for excel (pick the docs for your version).

这篇关于Windows批处理命令问题,启动excel temp.xls的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆