Advertisement
npocmaka

DayOfTheWeek.bat

May 24th, 2013
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. rem -- gets day of the week in one line
  2. rem -- by Vasil "npocmaka" Arnaudov
  3.  
  4. @for /f "skip=10 tokens=3 delims= " %%D in ('@robocopy /l * %tmp% %tmp% /ns /nc /ndl /nfl /np /njh') do @echo %%D
  5.  
  6. rem for command prompt use:
  7. rem @for /f "skip=10 tokens=3 delims= " %D in ('@robocopy /l * %tmp% %tmp% /ns /nc /ndl /nfl /np /njh') do @echo %D
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement