dcsimg
Results 1 to 3 of 3

Thread: How to compare files in folders?

  1. #1
    Join Date
    Jun 2019
    Posts
    4

    How to compare files in folders?

    I need to compare the files (including all subfolders) in the specified folders from the batch file, and then delete from the current folder those files that are not in the reference folder. In other words - you need to synchronize the current folder with the reference. Help advice how to do it quickly

  2. #2
    Join Date
    Jun 2019
    Posts
    9
    I can advise you to use the free utility from Microsoft - Robocopy to synchronize folders. It is convenient because in addition to command line keys it has a graphical interface in which you can visually select copy options and save them as a cmd script.

  3. #3
    Join Date
    Jun 2019
    Posts
    8
    Quote Originally Posted by tinakinna View Post
    I need to compare the files (including all subfolders) in the specified folders from the batch file, and then delete from the current folder those files that are not in the reference folder. In other words - you need to synchronize the current folder with the reference. Help advice how to do it quickly

    I use diff tool https://www.devart.com/codecompare/ With this tool you can combine and compare files, as well as folders or directories. Working with him is easy and convenient, very good interface., Even a beginner can.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •