命令列輸出日期格式YYYYMMDD



C:\>echo %date:~0,4%%date:~5,2%%date:~8,2%
輸出結果:20120603
arrow
arrow
    全站熱搜

    abort 發表在 痞客邦 留言(0) 人氣()