Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Adjust window position with batch file [duplicate]

Tags:

batch-file

Is there a way to adjust the window position when a window is opened when launching from a .bat file?

I have two programs I want to open and I have a batch file that does it, but they both end up on top of each other.

I know you can start programs minimized or maximized, but I'd like to know if there is a way I can make one take up the left half and the other take up the right half of the monitor?

like image 750
user3155633 Avatar asked Sep 17 '25 03:09

user3155633


1 Answers

There is no native support to move a window from a batch file. There are utilities that can do this for you.

Here is another thread that discusses the same topic.

Set The Window Position of an application via command line

like image 78
Nico Avatar answered Sep 23 '25 00:09

Nico