Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8770967
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T17:40:10+00:00 2026-06-13T17:40:10+00:00

i have 400 text files, all text file has numeric values only. folder1\car1.txt,car2.txt and

  • 0

i have 400 text files, all text file has numeric values only.

folder1\car1.txt,car2.txt and upto car400.txt

folder2\car1.txt,car2.txt ….car400.txt

i want to compare all these files like folder1\car1.txt with folder2\car1.txt and folder1\400.txt with folder2\400.txt and if they are not matching i want the batch to write those file names to mismatch.txt

please help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T17:40:12+00:00Added an answer on June 13, 2026 at 5:40 pm
    @echo off
    >mismatch.txt (
      for %%F in (folder1\*.txt) do >nul 2>&1 fc "%%F" "folder2\%%~nxF"||echo %%~nxF
    )
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a directory named main that contains two files: a text file named
I have a list of 400 strings that all end in _GONOGO or _ALLOC.
I have a sample code: $text = 240 x 400 pixels, 3.0 inches (~155
I have problem with streaming. When I send small file like 1kb txt everything
I have a text file that is coming is some predefined way. I don't
I have a text file that lists any possible problems. It always starts with
I have some text files with the following format: 000423|东阿阿胶| 300|1|0.15000| | 000425|徐工机械| 600|1|0.15000|
I have a set of files in a library on an AS/400/iSeries/System-I/whatever-IBM-wants-me-to-call-it-these-days which I
I've got about 400'000 files that need some text to be replaced. I tried
I have five text files that are produced by an R program, (each of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.