Connecting Tech Pros Worldwide Help | Site Map

error not redirected to a file

  #1  
Old April 24th, 2009, 01:44 PM
Newbie
 
Join Date: Apr 2009
Posts: 3
Hi ,
I use the netsh command to set a static ip and redirect the output to a file.I execute the command from windows command prompt.
When i try to set the ip already in use it throws an error message in a dialogue
box and the error message is not redirected to the file.The file is created in the correct location and only OK message is written there.

The command i use :

netsh interface ip set address "Local Area Connection" static 169.254.160.2 255.255.0.0 169.254.160.2 1 > file1.txt

please let me know how to redirect this message to the file.


Thanks,
Viji
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
PostMessage() error one2001boy@yahoo.com answers 21 December 9th, 2006 09:05 AM
Error with postback on very large page mike.lerch@gmail.com answers 0 November 19th, 2005 03:12 AM
Custom Error not working Nick answers 9 November 18th, 2005 03:14 AM
ASP Error Handling Niraj Khandwala answers 8 July 19th, 2005 02:29 PM