modify cmd file