Bat file catch any errors

need to catch any errors if i run the bat files, i do not know what errors there will be so if can i want to catch all type of errors, so if show any error means i will log that it have failed. For logging purposes. Is there any advices on usage of using the Try Catch activity to catch all type of errors if there is than assign activity that it failed.

Hi,

You can directly cannot implement Try Catch in a bat file, but you have some work around.
Refer this link

I do not think you can run xaml files with BAT …(with new version of UIPATH)?

I think BAT files are good older versions