12 lines
222 B
Batchfile
12 lines
222 B
Batchfile
@echo off
|
|
|
|
if exist %1\* (
|
|
echo Run on a file
|
|
) else (
|
|
if exist "%~1_checksum-md5.txt" (
|
|
del "%~1_checksum-md5.txt"
|
|
)
|
|
certutil.exe -hashfile "%~1" MD5 > "%~1_checksum-md5.txt"
|
|
start notepad "%~1_checksum-md5.txt"
|
|
)
|