Compare the contents of two files or sets of files. Use wildcards (*) to compare sets of files. More information: https://docs.microsoft.com/windows-server/administration/windows-commands/comp.
comp
comp {{path/to/file_1}} {{path/to/file_2}}
comp {{path/to/directory_1/*}} {{path/to/directory_2/*}}
comp /d {{path/to/file_1}} {{path/to/file_2}}
comp /a {{path/to/file_1}} {{path/to/file_2}}
comp /l {{path/to/file_1}} {{path/to/file_2}}
comp /c {{path/to/file_1}} {{path/to/file_2}}
comp /n={{5}} {{path/to/file_1}} {{path/to/file_2}}