如何使用批处理全屏打开窗口

如何使用批处理全屏打开窗口

问题描述:

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

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