如何在 Windows 中使用命令行获取文件的 md5 哈希值?我只想要原始的 MD5 哈希值,不包含任何额外的文本。我尝试使用 chatgpt 命令,但它给出的命令只起到了一半的作用。
for /f "skip=1 tokens=1" %a in ('certutil -hashfile "path\to\your\file" MD5') do @echo %a & goto :done
它仍然打印CertUtil: -hashfile command completed successfully.
我不希望它出现的内容