Skip to content

Instantly share code, notes, and snippets.

@katabame
Last active December 1, 2016 06:05
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 katabame/38a1a1bd6170f0a13b3240021bbbb411 to your computer and use it in GitHub Desktop.
Save katabame/38a1a1bd6170f0a13b3240021bbbb411 to your computer and use it in GitHub Desktop.
.md5sum creater
@echo off
for /f "delims=" %%i in ('certutil -hashfile %~1 MD5 ^| findstr -r -c:"^[a-z][0-9] "') do set hash=%%i
set hash=%hash: =%
echo %hash% %~1>%~1.md5sum
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment