求助 各位高手 用dos 在保存文件时如何把日期加入文件名中?作者: bagpipe 时间: 2005-10-31 15:48 @echo off
for /f "tokens=1 delims= " %%i in ('date/t') do edit %%i.txt
其实就这两句就可以搞定的事情,用不着请教二字了作者: bagpipe 时间: 2005-10-31 15:58 @echo off
setlocal
set /p pp=请输入你的文件名:
for /f "tokens=1 delims= " %%i in ('date/t') do edit %pp%%%i.txt
endlocal