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 8848289
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T12:23:27+00:00 2026-06-14T12:23:27+00:00

UPDATED… I want to call kdiff from Console application. So I’m building two files

  • 0

UPDATED…

I want to call kdiff from Console application. So I’m building two files and want to compare they at the end of executing my program:

string diffCmd = string.Format("{0} {1}", Logging.FileNames[0], Logging.FileNames[1]);
// diffCmd = D:\vdenisenko\DbHelper\DbHelper\bin\Debug\Reports\16_Nov 06_30_46_DiscussionThreads_ORIGIN.txt D:\vdenisenko\DbHelper\DbHelper\bin\Debug\Reports\16_Nov 06_30_46_DiscussionThreads_ORIGIN.txt
System.Diagnostics.Process.Start(@"C:\Program Files (x86)\KDiff3\kdiff3.exe", diffCmd);

//specification is here http://kdiff3.sourceforge.net/doc/documentation.html

It runs kdiff3 tool, but something wrong with filenames or command… Could you please look on screenshot and say what is wrong?
enter image description here

  • 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-14T12:23:28+00:00Added an answer on June 14, 2026 at 12:23 pm

    You need to use Process.Start():

    string kdiffPath = @"c:\Program Files\Kdiff3.exe"; // here is full path to kdiff utility
    string fileName = @"d:\file1.txt";
    string fileName2 = @"d:\file2.txt";
    
    Process.Start(kdiffPath,String.Format("\"{0}\" \"{1}\"",fileName,fileName2));
    

    Arguments as described in the docs: kdiff3 file1 file2

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

UPDATED: Added one more question (Question #4). Hi all, I'm building myself a custom
UPDATED SOLUTION: With my particular problem, the sort call was inside a Render function
---UPDATED --- I have problems when including headers and cpp files in my project,
UPDATED: I'm now overriding the NSView keyUp method from a NSView subclass set to
UPDATED I have an application that updates a combobox based on the values selected
UPDATED I want to make running text line, which way is better to make
UPDATED 2010-11-25 A legacy stand-alone application (A1) is being re-created as a web application
UPDATED: I have a desktop application, with the following components interacting: Winforms UI. Service
--UPDATED-- I want to empty message in a textarea in callback. Can anyone tell
Updated with clarifications Hello, When our users go to http://mysubdomain.server.com/login they get redirected to

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.