Apache Ant, unlike most applications dedicated to Apache Ant design, does not work with commands based on "shell" but uses "java classes". Not using commands allows you to create files based on tasks and actions. Tasks are easily programmed from the Apache Ant interface. Anyway, not including commands is likely to miss something, you can use the commands from one of the tasks that already has scheduled and allows you to write different commands that will run without problem.
It is a free program, compatible with almost all versions of the Windows operating system.