auto commit by bat file