Open 2 applications with particular window sizing in Windows 10

I would like to open two windows, FireFox and Windows explorer, with one click, and have each window be sized in a particular way (in this case, 50% for each, with one on the left and one on the right) and have windows explorer open to a particular folder.

Can I set this up and then have an app save the current settings and let me reopen? Is there a BAT way to do this?

Thank you.
Lev SeltzerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Example for a batch that opens c:\windows:
explorer c:\windows

Open in new window

For resizing, I would not use tools or batches. Use the winkey together with the arrow keys, you'll be surprised what you can do.
Edit: also look at the new virtual desktop feature:
winkey + ctrl + d = new virtual desktop
winkey + ctrl + right/left arrow=toggle between different virtual desktops
Lev SeltzerAuthor Commented:
I was able to create a batch command that opens the two programs, but I still must drag one window to the right and then select the other one in order to have them appear properly. Yes, it is very easy in Windows, but I would like to automate even this process. Can it be done in windows 10?
IT Pros Agree: AI and Machine Learning Key

We’d all like to think our company’s data is well protected, but when you ask IT professionals they admit the data probably is not as safe as it could be.

No batches.
You'd need desktop manager tools that work with profiles.
JohnBusiness Consultant (Owner)Commented:
IE 11 in Windows 10 opens the last way you left it. If you do not change it, it will always open the same size and location. It does for me on Windows 10, 8,.1, 7 and prior.
Lev SeltzerAuthor Commented:
McKnife: I do not know what "desktop manager tools that work with profiles" are. Should I be searching for some type of free utility?

John Hurst: I have been using FF for this particular task, and while it opens up to the pages I have set, it does not do so anchored to the left side of the screen.
JohnBusiness Consultant (Owner)Commented:
I only use IE 11 so I cannot help with Firefox. Sorry.
Same with IE, John. He talks about anchoring, that is something else compared to dragging into size.

Lev,desktop manager applications have been around for ages. Surely on will allow you to save window positions. Since one might want to have different configurations, they'll offer to save different profiles. Fellows here used virtual desktops, but I don't use it, so I am unsure which particular products to recommend. Look at their descriptions.
Maidine FouadEngineerCommented:
Opening both using a bat and manually resizing is Indeed easier ...( or at least using Windows + Left arrow | Windows + right arrow )

With batch its possible but at least like 40 lines of really complicated code ...and it wont use batch only ...

Il rather use AutoIT , to run those actions , in a script probably something similar to this :
ShellExecute("firefox.exe", "")
WinWait("firefox.exe", "",5);
WinMove("firefox.exe", "", 0, 0, 683, 724) ;
WinWait("C:\", "",5);

Open in new window

This will open firefox ( in the 1st line of the code the Second argument can be changed to a web page to be opened) and it will resize it to fill 50% of my screen , and do the same thing for explorer.

I use Win 7 , i cant confirm it will work on win 10 , and it needs to be changed depending on your resolution,  in their forum you will find predefined scripts from users that will help you out for sure.
Danny ChildIT ManagerCommented:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Lev SeltzerAuthor Commented:
Thank you all. I liked autohotkey the best, and was able to implement a solution using that.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 10

From novice to tech pro — start learning today.