Advertisement
Guest User

Untitled

a guest
Jun 15th, 2018
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.30 KB | None | 0 0
  1. @echo off
  2.  
  3. setlocal enabledelayedexpansion
  4.  
  5. for /R %%i in (*.exe) do (
  6.     SET name=%%i
  7.     certutil -hashfile %%i MD5 | find /i /v "md5" | find /i /v "certutil" >> tmp.txt
  8.     SET /p hash=<tmp.txt
  9.     echo !name! : !REG3XP0!>!hash!
  10.     if not exist md5sums.txt (
  11.         echo !name! : !REG3XP0!>!hash! >> md5sums.txt
  12.     )
  13.     del tmp.txt
  14. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement