Jump to content

Recommended Posts

Posted

In a VS C# 2008 project, I've found a problem with piping console output to a file.

 

For example, in the project settings, debug tab, start options, and command line arguments:

 

If I try to pipe to a file like this:

 

ExamineSTPErrorLogs > report.txt

 

which is something that worked in VS 2005, the "> report.txt" is showing as a parameter to the console application.

 

But the expected behavior is that this should be piped to a file.

 

If I would have used:

 

ExamineSTPErrorLogs ">" report.txt

 

 

I would expect ">" and "report" to be used as command line parameters.

 

Is there some kind of hack so this can be made to work correctly?

 

Otherwise I'll have to downgrade. Upmh!

 

 

More...

 

View All Our Microsoft Related Feeds

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...