結果 : get previous command in cmd