automating QT tools with .bat