Is there a way to get the creation date of a folder in pure batch file (no power script)? In particular, I would like to get it inside this for loop:
FOR /f "tokens=*" %%G in ('dir /b /s /a:d "C:\asdf\*"') DO CALL :loopbody "%%~tG" "%%G"
This loop call a 'function' with the modification date of the folder as the first parameter and the path of the folder as the second parameter.