I'm writing a cross-platform app that teaches people how to use the command line. I want to show them how to print out the HTML contents of a URL. Ordinarily, I would use curl
for this, but Windows doesn't come with this program, and I don't want my users to have to install any extra programs.
Is there a way to emulate curl using built-in MS-DOS commands, perhaps sending a snippet of VBScript to wscript
to be evaluated?