What I need to do is to compare two folders for non identical files in CMD with DOS
commands.
When I find non identical files, I need to write them into a .txt file with full path so I can find out where these files are actually contained.
So how can I achieve this?
You could use the comp
command:
https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/comp
comp C:\PathA\A C:\PathB\B > C:\Comparison\comparison-between-A-B.txt