With guidance from all you experts,
@echo off
for /f "tokens=1-3 delims=\" %%i in ('echo %date:~0,10%') do md d:\%%i%%j%%k
I found a way to create, under a specified path, a folder named with the current date, but after trying many methods I still can't create a folder named with yesterday's date ;), does any expert have a good trick? Please give me some pointers:
Thanks!
@echo off
for /f "tokens=1-3 delims=\" %%i in ('echo %date:~0,10%') do md d:\%%i%%j%%k
I found a way to create, under a specified path, a folder named with the current date, but after trying many methods I still can't create a folder named with yesterday's date ;), does any expert have a good trick? Please give me some pointers:
Thanks!
一切皆有可能!我行!我能!
