In my day job, I work on an Arc Pro plugin. We needed to figure out a way to make Arc switch to our custom Conda environment to run this plugin, but switch back to the default Esri Conda environment when closing Arc.
I devised a batch script to do so, and it’s working, but it opens up a console window which is bad for users.
So I devised a wrapper .vbs file which targets the batch script, to hide the console.
So I have this g-d awful Frankenstein system where we have a desktop shortcut which opens the .vbs file, which runs the batch script, which in turn manipulates the Arc Conda environment and runs it with our plugin, lol.