Created
March 2, 2017 23:11
-
-
Save MarkTiedemann/c42bc1d01138e33b2d37cce7b3aad45c to your computer and use it in GitHub Desktop.
Download file and print content via batch script
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
@ECHO off | |
SET downloadUrl=https://api.github.com/users/marktiedemann | |
SET tempFile=%cd%\.%random%-tmp | |
BITSADMIN /transfer /download %downloadUrl% %tempFile% >nul | |
TYPE %tempFile% | |
DEL %tempFile% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment