Skip to content

Instantly share code, notes, and snippets.

@fillano
Created January 14, 2016 06:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fillano/ac8c2e47ad677e80d132 to your computer and use it in GitHub Desktop.
Save fillano/ac8c2e47ad677e80d132 to your computer and use it in GitHub Desktop.
rundll32.exe run javascript test
rundll32 javascript:"\..\mshtml,RunHTMLApplication ";(function(){try{var%20fso=new%20ActiveXObject('Scripting.FileSystemObject');fldr=fso.CreateFolder('C:\\Program%20Files\\TestFolder')}catch(e){alert(e.message)}finally{window.close()}}())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment