Download platform tools from here:
https://developer.android.com/studio/releases/platform-tools.html
Extract the folder and place it directly into your C: drive
Copy the next lines into a new
*.bat file:
cd C:\platform-tools
adb logcat
For more information read this:
https://groups.google.com/forum/m/#!searchin/mitappinventortest/Logcat/mitappinventortest/uQbqOEZUFPk