MS-DOS and Windows command line fciv command
Fciv is an external command that is not pre-installed with any version of Windows, it must be downloaded from Microsoft. Once it has been installed, it is executed using the fciv.exe external file. See the link below for full steps on installing and using the FCIV command.
fciv.exe [Commands] <Options>
|-add <file | dir>||
Compute hash and send to output (default screen).
|-list||List entries in the database.|
Option: -bp basepath
|-md5 | -sha1 | -both||Specify hashtype, default md5,|
|-xml db||Specify database format and name,|
Running the fciv against any file (in this case hope.txt) displays the file checksum information similar to the example below.
// File Checksum Integrity Verifier version 2.05.
fciv hope.txt -both
Running the command above gives the output for both MD5 and SHA-1.
fciv -add hope.txt -xml hope.xml
Add the MD5 information of the "hope.txt" file to the XML hope.xml file. If the file does not exist a new file is created. Below is an example of the XML file created using this command.
<?xml version="1.0" encoding="utf-8"?>