Code: Select all
Let>RP_WAIT=1
Let>RP_WINDOWMODE=0
Let>PATH_TO_FILE=path to your file <-----------------------------
Let>CMD_TO_RUN=cmd /c c: & certutil -hashfile "%PATH_TO_FILE%" MD5 | clip
RunProgram>CMD_TO_RUN
GetClipBoard>HASH_OF_FILE,0
Let>CLEANUP_REGEX=[\S\s]*([a-f0-9]{32})[\S\s]*
RegEx>CLEANUP_REGEX,HASH_OF_FILE,0,,,1,$1,HASH_OF_FILE
MDL>HASH_OF_FILE
Code: Select all
Let>RP_WINDOWMODE=0
Let>RP_CAPTURESTDOUT=1
Let>PATH_TO_FILE=path to your file <-----------------------------
Let>CMD_TO_RUN=certutil -hashfile "%PATH_TO_FILE%" MD5
RunProgram>CMD_TO_RUN
Let>CLEANUP_REGEX=[\S\s]*([a-f0-9]{32})[\S\s]*
RegEx>CLEANUP_REGEX,RP_STDOUT,0,,,1,$1,HASH_OF_FILE
MDL>HASH_OF_FILE
Code: Select all
Let>RP_WINDOWMODE=0
Let>RP_CAPTURESTDOUT=1
Let>PATH_TO_FILE=path to your file <-----------------------------
RunProgram>certutil -hashfile "%PATH_TO_FILE%" MD5
RegEx>[\S\s]*([a-f0-9]{32})[\S\s]*,RP_STDOUT,0,,,1,$1,HASH_OF_FILE
MDL>HASH_OF_FILE