Skip to content

Instantly share code, notes, and snippets.

@zuzzas
Last active March 16, 2016 11:25
Show Gist options
  • Save zuzzas/242dd0f7196d5501e3a1 to your computer and use it in GitHub Desktop.
Save zuzzas/242dd0f7196d5501e3a1 to your computer and use it in GitHub Desktop.
@echo off
set /p HOST="Enter IP address or FQDN: "
:while
set SAVESTAMP=%DATE:/=-%@%TIME::=-%
set SAVESTAMP=%SAVESTAMP: =%
echo %SAVESTAMP%
echo Next iteration...
pathping -q 100 -n %HOST% > %SAVESTAMP%.txt
GOTO while
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment