I work with AVD emulator and I have to restart my PC again and again because of some updates. so each time I start the pc, I have to run the custom bat file to start the emulator again and that becomes a tidy process to me.
Here is my way to make bat file to open emulator
I have searched on stackoverflow and on other places but couldn't find the exact solution.
Here are some relevant links
Run AVD Emulator without Android Studio
https://developer.android.com/studio/run/emulator-commandline