如何使用批处理全屏打开窗口 [英] How to open a window in fullscreen with batch

查看:631
本文介绍了如何使用批处理全屏打开窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我之前用代码制作了一个批处理文件

I made a batch file earlier with the code

    start chrome.exe --profile-directory="Profile 1" http://drive.google.com

它将以个人资料1用户的身份打开Goog​​le chrome到"Drive.google.com"页面. 但是,每次我运行它时,都会在一个很小的窗口中打开chrome.我想知道是否有办法在全屏模式或更大的窗口模式下将其打开.我尝试过

It opens google chrome to the page "Drive.google.com" as the profile 1 user. However, everytime i run it it opens chrome in a tiny window. I was wondering if there was a way to open it in either fullscreen mode or a larger windowed mode. I tried the

    mode con lines=1000 cols=1000

但是它似乎仅适用于批处理文件.是否有与个人资料变量类似的变量可以全屏打开?

But it seems to be only for batch files. Is there a variable simlilar to the profile variable that will open it in fullscreen?

推荐答案

据说,您可以添加/max标记

/MAX         Start window maximized.

所以:

start /max chrome.exe --profile-directory="Profile 1" http://drive.google.com

这篇关于如何使用批处理全屏打开窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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