How can a batch file run a program and set the position and size of the window?
问题 I have batch file that sets up the desktop environment for me when I am writing code. The file is named: SetEnv.cmd and it opens 3 other windows: An instance of Windows Explorer that is set to the app server's deploy directory. A second instance of Windows Explorer that is set to the directory where my deployment file is written. A console window to start my application server. Here are the contents of SetEnv.cmd : Explorer /n,c:\develop\jboss-4.2.3.GA\server\default\deploy Explorer /n,c: