dir & echo foo dir && echo foo ::Use && if you only want the second to execute if the first excuted successfully