Bat Application Programming Interface