add a cmd file