Skip to content

Instantly share code, notes, and snippets.

@Bigous
Created November 9, 2015 16:44
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 Bigous/1650a2583efbfeba6100 to your computer and use it in GitHub Desktop.
Save Bigous/1650a2583efbfeba6100 to your computer and use it in GitHub Desktop.
Calculates MD5 hash from file (requires NodeJS)
@echo off
node -e "require('fs').readFile('%~1',function(err, data){console.log(require('crypto').createHash('md5').update(data).digest('hex'))})"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment