Last active
June 18, 2018 17:26
-
-
Save pushmon/1886142 to your computer and use it in GitHub Desktop.
Batch File
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rem | |
rem Please download curl from https://curl.haxx.se/download.html and add it to your path. | |
rem | |
@echo on | |
rem if command fails, exit and do not ping | |
if %errorlevel% neq 0 goto ERROR | |
set URL_STRING=http://pshmn.com/eaFnY | |
curl %URL_STRING% | |
rem | |
rem If you prefer wget, please download wget.exe from https://eternallybored.org/misc/wget/ and add it to your path. | |
rem | |
rem wget -q -O - %URL_STRING% | |
:ERROR |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks szepeviktor. I just saw your comment now, so sorry for the super late reply.