Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- goto teileins
- :teileins
- set isodate=%date:~6,4%-%date:~3,2%
- set isodate=%isodate%-%date:~0,2%
- set datei=.log
- set pfad=D:\pinglogs\
- set name=%pfad%%isodate%%datei%
- echo %name%
- date /t >>%name%
- time /t >>%name%
- ping 173.194.35.152 -n 3 >>%name%
- ping -n 1 -w 60000 1.2.3.4
- goto teileins
Advertisement
Add Comment
Please, Sign In to add comment