axi92

Pinglogger

Apr 26th, 2012
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. goto teileins
  2. :teileins
  3. set isodate=%date:~6,4%-%date:~3,2%
  4. set isodate=%isodate%-%date:~0,2%
  5. set datei=.log
  6. set pfad=D:\pinglogs\
  7. set name=%pfad%%isodate%%datei%
  8. echo %name%
  9. date /t >>%name%
  10. time /t >>%name%
  11. ping 173.194.35.152 -n 3 >>%name%
  12. ping -n 1 -w 60000 1.2.3.4
  13. goto teileins
Advertisement
Add Comment
Please, Sign In to add comment