復制代碼 代碼如下:
@echo off
set d=%date:~
mshta vbscript:createobject(
for /f %%m in (wind
set ph=D:\Test
for /r
pause
運行的時候去掉最後一個@echo 和 pause
這兩個為測試輸出用的
dateadd(
注意
From:http://tw.wingwit.com/Article/program/qrs/201405/31041.html
復制代碼 代碼如下:
@echo off
set d=%date:~
mshta vbscript:createobject(
for /f %%m in (wind
set ph=D:\Test
for /r
pause