title: How to open java app maximized from batch file?
body: <p>I am calling a jar from a batch file which essentially opens up a GUI app in windows 10. I would like to open this java app in maximized mode from a batch file. I found a lot of answers but they maximize my .bat file but don't maximize my app. Here is how I am calling the app:</p>
  
  <pre><code>cd c:\myfolder
  "C:\otherfolder\java\bin\java.exe" -jar myjar.jar
  </code></pre>
  
  <p>It opens up the app but I want to open the app in maximized mode. That is, the jarfile contains a GUI app and that is what I want to maximize.</p>