D
David Candy
@echo off
echo. |date>date.txt
FOR /F "eol=E tokens=4,5,6,7,8* delims=/, " %%i in (date.txt) do Set Z=%%k-%%l-%%m
move "%~1" "%~1%Z%"
del date.txt
Make a batch file with these lines in it, drop a folder on it, folder renamed.
New Folder becomes New Folder01-12-2003
echo. |date>date.txt
FOR /F "eol=E tokens=4,5,6,7,8* delims=/, " %%i in (date.txt) do Set Z=%%k-%%l-%%m
move "%~1" "%~1%Z%"
del date.txt
Make a batch file with these lines in it, drop a folder on it, folder renamed.
New Folder becomes New Folder01-12-2003