batch works using commandlines