Show/Hide Toolbars

Take Command / TCC Help v. 22

String mode:        @MD5[s,string]

File mode:        @MD5[[f,]filename]


Returns the 32 hexadecimal digit MD5 hash of the character in string or of the contents of the file filename. The first parameter must be s for a string, and any leading or trailing whitespace characters in string are included.


Filename may be specified with or without an optional f. @MD5 returns -1 if the file does not exist, or it cannot be read.


Since Take Command handles all internal strings as Unicode, @MD5 will return different results for a string and the identical string in an ASCII file.


See also: @SHA256, @SHA384, @SHA512, and @CRC32.




echo %@md5[s,this is a string]