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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T06:53:25+00:00 2026-05-26T06:53:25+00:00

I have created two simple .exe files. One of them takes a filename parameter

  • 0

I have created two simple .exe files. One of them takes a filename parameter at runtime and reads the contents of the file to the console. The other waits on its console’s input and then reads it; for now it just has to print out to the console, but eventually I’ll have to redirect the read in text to a new txt file. My question is, how can I redirect the output of the first exe to the 2nd exe’s console where it can be read in?

Thanks in advance for any help you can provide! 🙂

-Chris

  • 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-05-26T06:53:26+00:00Added an answer on May 26, 2026 at 6:53 am

    You could probably do something with the command line using the pipe redirect operator:

    ConsoleApp1.exe | ConsoleApp2.exe
    

    The pipe operator redirects the console output from the first app to the standard input of the second app. You can find more info here (the link is for XP but the rules apply to Windows Vista and Windows 7 as well).

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

Sidebar

Related Questions

I have created two simple files in php. first file (i.e. input.php ): Created
I have created two folders layout and layout-land with two xml files, one for
I have created one simple menu with two options that says Add new contact
I have written two simple Java classes (one of them containing main(), and the
I have created two actions in code, one simple and one advanced. function userbeep_action_info()
I'm trying to create a simple, custom, gallery. I have two lists, one with
I have created two WindowSurface (WPF), and I want to navigate betwen them. I've
I have created two DbContexts, one is for application configuration, the second is for
I have created two forms in my Windows Application. One Form acts as a
I have created two different tilemap s for simple display and retina display. Simple

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.