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

Batch file 如何使用批处理全屏打开窗口,batch-file,Batch File,我在前面用代码创建了一个批处理文件 start chrome.exe --profile-directory="Profile 1" http://drive.google.com 它以profile 1用户的身份打开google chrome页面“Drive.google.com”。 然而,每次我运行它时,它都会在一个小窗口中打开chrome。我想知道是否有办法在全屏模式或更大的窗口模式下打开它。我试过了 mode con lines=1000 cols=1000 但它似乎

我在前面用代码创建了一个批处理文件

    start chrome.exe --profile-directory="Profile 1" http://drive.google.com
它以profile 1用户的身份打开google chrome页面“Drive.google.com”。 然而,每次我运行它时,它都会在一个小窗口中打开chrome。我想知道是否有办法在全屏模式或更大的窗口模式下打开它。我试过了

    mode con lines=1000 cols=1000

但它似乎只适用于批处理文件。是否有一个变量simlilar到profile变量,该变量将全屏打开?

正如waeswaes所说,您可以添加
/max
标记

/MAX         Start window maximized.
因此:


只是为了澄清你不想最大化,你只想全屏?因为在“开始”命令之后使用“/max”标志可以使窗口最大化。
start /max chrome.exe --profile-directory="Profile 1" http://drive.google.com