Take Command / TCC Help v. 13.03

@CRC32

Hide Navigation Pane

@CRC32

Previous topic Next topic No directory for this topic No expanding text in this topic  

@CRC32

Previous topic Next topic Topic directory requires JavaScript JavaScript is required for expanding text JavaScript is required for the print function Mail us feedback on this topic!  

Comments (...)

String mode:        @CRC32[s,string]

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

 

Returns the CRC32 value (using the same algorithm as PKZIP or WINZIP) 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. @CRC32 returns -1 if the file does not exist, or it cannot be read.

 

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

 

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

 

Examples:

 

echo %@crc32["C:\My Files\Myprog.exe"]

echo %@crc32["%comspec"]

 

 

 

Comments (...)