@SHA256[[s,]filename] : Returns the SHA2-256 checksum of the specified file. If the first argument is an s, the filename argument is interpreted as a string and @SHA256 returns the checksum of that string.

 

Example:

 

echo %@sha256[c:\windows\notepad.exe]

142E1D688EF0568370C37187FD9F2351D7DDEDA574F8BFA9B0FA4EF42DB85AA2

 

See also @SHA384, @SHA512, @MD5, and @CRC32.