Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Computing > Alt Msdos Batch Nt > Redirecting out...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 3349 of 3392
Post > Topic >>

Redirecting output to file error

by robquigley@[EMAIL PROTECTED] Jul 15, 2008 at 07:57 AM

Hey everyone,

I have an exe that runs fine when outputing to the command window but
if i redirect the output (with something like > log.txt 2>&1) it
always crashes. A windows box pops up with some memory error.

I thought 2>&1 shud redirect stderr to the output file but the error
doesnt appear in the output file.

How do i get the error to redirect to the output file and not pop up
(this is so my scripts can run overnite and i can chk the errors in
the morning)?

Also is there anything weird that redirecting output does that may
affect my progams execution?

Cheers everyone,


Rob.
 




 3 Posts in Topic:
Redirecting output to file error
robquigley@[EMAIL PROTECT  2008-07-15 07:57:26 
Re: Redirecting output to file error
001.dmitry@[EMAIL PROTECT  2008-07-15 08:56:35 
Re: Redirecting output to file error
Tom Lavedas <tglbatch@  2008-07-15 09:18:36 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Aug 27 19:08:51 CDT 2008.