Connecting Tech Pros Worldwide Help | Site Map

error not redirected to a file

Newbie
 
Join Date: Apr 2009
Posts: 3
#1: Apr 24 '09
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 IIS / Microsoft Internet Information Services bytes