Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/batch-file/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Google chrome 在Bat文件的活动选项卡中打开链接_Google Chrome_Batch File - Fatal编程技术网

Google chrome 在Bat文件的活动选项卡中打开链接

Google chrome 在Bat文件的活动选项卡中打开链接,google-chrome,batch-file,Google Chrome,Batch File,我有一个Bat文件,可以在chrome中打开一个页面 我想更新它,以便它在当前活动选项卡中打开链接 这可能吗 start chrome http://www.google.com 在检查了这些命令行开关之后,似乎没有一种直接的方法可以做到这一点 开箱即用的命令行开关允许您在新窗口中从命令行打开chrome chrome --new-window www.google.com 或在当前窗口的新选项卡中 chrome www.google.com 也许可以让Powershell或VB脚本关闭焦

我有一个Bat文件,可以在chrome中打开一个页面

我想更新它,以便它在当前活动选项卡中打开链接

这可能吗

start chrome http://www.google.com

在检查了这些命令行开关之后,似乎没有一种直接的方法可以做到这一点

开箱即用的命令行开关允许您在新窗口中从命令行打开chrome

chrome --new-window www.google.com
或在当前窗口的新选项卡中

chrome www.google.com

也许可以让Powershell或VB脚本关闭焦点选项卡,然后打开新选项卡,但我可以看出这可能不起作用

是的,我应该说我看过开关,但什么也没发现。我想我只需要在新的标签上打开它。谢谢你的帮助!