Advertisement
Sladki

Untitled

Oct 1st, 2019
1,316
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @echo off
  2. for /f "delims=." %%d in ('date /t') do set TODAY=%%d
  3.  
  4. for /f "delims=" %%d in ('dir /b /a:d /o:-d /t:c') do (
  5.     for /f "delims=." %%c in ('dir "%%d" /a:d /o:-d /t:c ^| find /i ".."') do (
  6.         if %%c equ %TODAY% (
  7.             echo "%%d" has been created today.
  8.         )
  9.     )
  10. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement