2
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Microsoft 製ハッシュ値計算ツール `fciv'

Last updated at Posted at 2012-11-16

何時もはCygwin のGnu coreutils のtool を使うが,Microsoft 製の物を見つけたので試してみる.
#Windows8 にも導入できた.

usage

>fciv
//
// File Checksum Integrity Verifier version 2.05.
//

Usage:  fciv.exe [Commands] <Options>

Commands: ( Default -add )

        -add    <file | dir> : Compute hash and send to output (default screen).

                dir options:
                -r       : recursive.
                -type    : ex: -type *.exe.
                -exc file: list of directories that should not be computed.
                -wp      : Without full path name. ( Default store full path)
                -bp      : specify base path to remove from full path name

        -list            : List entries in the database.
        -v               : Verify hashes.
                         : Option: -bp basepath.

        -? -h -help      : Extended Help.

Options:
        -md5 | -sha1 | -both    : Specify hashtype, default md5.
        -xml db                 : Specify database format and name.

To display the MD5 hash of a file, type fciv.exe filename

sha1/md5 に対応.規定値はmd5.

>fciv -sha1 Contacts\desktop.ini
//
// File Checksum Integrity Verifier version 2.05.
//
a316a38e1a8325bef6f68f18bc967b9aaa8b6ebd contacts\desktop.ini

>fciv -md5 Contacts\desktop.ini
//
// File Checksum Integrity Verifier version 2.05.
//
449f2e76e519890a212814d96ce67d64 contacts\desktop.ini


>fciv -both Contacts\desktop.ini
//
// File Checksum Integrity Verifier version 2.05.
//
                MD5                             SHA-1
-------------------------------------------------------------------------
449f2e76e519890a212814d96ce67d64 a316a38e1a8325bef6f68f18bc967b9aaa8b6ebd contac
ts\desktop.ini

何もないよりはいいけど,md5/sha1 しか対応してないのは悲しいですね.

2
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?