Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @ECHO off
- setlocal
- set "temp=Date/t"
- set "temp2=Time/t"
- set "temp3=echo["
- set "name=%DATE:~-4%-%DATE:~7,2%-%DATE:~4,2%"
- %temp% >>"%name%.txt"
- %temp2% >>"%name%.txt"
- %temp3% >>"%name%.txt"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement