1

I am writing a Windows batch file to copy a file from my computer to a network location, but before doing this, I need to add a hash for it using the command line. Assuming that my file is named testing.zip, how can this be done?

i_am_root
  • 333
Scorpion99
  • 1,149
  • 3
  • 12
  • 33

1 Answers1

2
Sigcheck -q -i -a -h testing.zip >> testing.md5

Sigcheck part of Windows Sysinternals

If need MD5 only:

Sigcheck -q -h testing.zip | find "MD5:" >>  testing.md5
STTR
  • 6,891