The following batch file will create a folder based on the current date. You can modify it appropriately.
[tt]
@Echo off
setlocal
for /f "tokens=2 delims=/ " %%i in ('date /t') do set MONTH=%%i
for /f "tokens=3 delims=/ " %%i in ('date /t') do set DAY=%%i
for /f "tokens=4 delims=/ " %%i in ('date /t') do set YEAR=%%i
set FOLDER=%YEAR%-%MONTH%-%DAY%
md %FOLDER%
endlocal
[/tt]
Jeff
masterracker@hotmail.com
If everything seems to be going well: you don't have enough information.......
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.