文件test.bat,内容命令如下:
@echo off
set filename=%date:~,%-%date:~,%-%date:~,% %time:~,%:%time:~,%:%time:~,%
echo %filename%
pause
2023-08-04 07:59:58
文件test.bat,内容命令如下:
@echo off
set filename=%date:~,%-%date:~,%-%date:~,% %time:~,%:%time:~,%:%time:~,%
echo %filename%
pause
下一篇:Makefile学习(一)变量