Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to open a window in fullscreen with batch

Tags:

batch-file

I made a batch file earlier with the code

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

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?

like image 498
jjjjjdude Avatar asked Oct 16 '25 02:10

jjjjjdude


1 Answers

As waeswaes said you can add the /max tag

/MAX         Start window maximized.

So:

start /max chrome.exe --profile-directory="Profile 1" http://drive.google.com
like image 70
Monacraft Avatar answered Oct 17 '25 16:10

Monacraft



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!