Added "batch" windows support