Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- setlocal enabledelayedexpansion
- for /R %%i in (*.exe) do (
- SET name=%%i
- certutil -hashfile %%i MD5 | find /i /v "md5" | find /i /v "certutil" >> tmp.txt
- SET /p hash=<tmp.txt
- echo !name! : !REG3XP0!>!hash!
- if not exist md5sums.txt (
- echo !name! : !REG3XP0!>!hash! >> md5sums.txt
- )
- del tmp.txt
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement