Instantly share code, notes, and snippets.

Embed
What would you like to do?
Batch File
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
@szepeviktor

This comment has been minimized.

szepeviktor commented Aug 20, 2016

@pushmon Please correct the URL

Binary: https://eternallybored.org/misc/wget/

Mozilla CA certificate store: https://curl.haxx.se/ca/cacert.pem

@pushmon

This comment has been minimized.

Owner

pushmon commented Jan 12, 2018

Thanks szepeviktor. I just saw your comment now, so sorry for the super late reply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment