This is probably a good argument to just ditch Windows Batch (.bat) files entirely for Windows Powershell scripts, but if you find yourself in a position where this is not feasible, see this Stack Overflow post about how to check the exit codes of programs run within Windows Batch files.
This is still a problem exhibited in Chrome 55 on the Mac (I know, I know, not the very latest available at this moment, but still, pretty new):
“I was prompted (the little up arrow on the wrench icon) to update yesterday (Sept 28 2012), so I did. Now when I open Chrome after shutting it down, it opens my last session. This is not what I want to happen. I have always set Chrome to open my home page on start. I have confirmed my setting is still set to open my home page. I did change the setting to something else and change it back, it didn’t help. Version 22.0.1229.79 m on Windows 7 Ultimate 64 bit”
1. Tap/click Start > Settings (gear icon) > Apps
2. Locate the app to uninstall and tap/click it.
3. Tap/click Uninstall
Note: Note: these instructions were written using Windows 10 Pro Version 1703 OS Build 15063.0. To see what version of Windows 10 you are using, select Start > Settings (gear icon) > About.
This afternoon I found myself without the ability to type into Spotlight on my new iMac running macOS 10.12.3. All other apps received keyboard input just fine. At the time I was using Spotlight to do some basic calculations involving adding two sums of money up. A bit of Googling lead me to this page, one answer for which was to restart the Spotlight process using the Terminal command “killall Spotlight”. That did the trick for me, Spotlight once again accepted keyboard input.