Skip to content

Instantly share code, notes, and snippets.

@joncasey
Created October 18, 2013 23:49
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joncasey/7049949 to your computer and use it in GitHub Desktop.
Save joncasey/7049949 to your computer and use it in GitHub Desktop.
Quick/Dirty way to read in a file using Windows Script Host.
function getScript(s) {with(new ActiveXObject('microsoft.xmlhttp'))open('GET',s,!1),send(),s=responseText;return s}
eval(getScript('i:/love/dirty_girls'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment