liah12359 当前离线
列兵
@echo off set Today=%date:~0,4%%date:~5,2%%date:~8,2% echo %Today% if exist "D:\test%Today%.txt" (echo rename "D:\test%Today%.txt" "test%Today%txt.bak") else (echo "file not exist") pause复制代码
ShowCode 当前离线
VIP1
TOP