Microsoft Windows Vista Community Forums - Vistaheads
Recommended Download



Welcome to the Microsoft Windows Vista Community Forums - Vistaheads, YOUR Largest Resource for Windows Vista related information.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so , join our community today!

If you have any problems with the registration process or your account login, please contact us.

Driver Scanner

Changing IP from command line

microsoft.public.windows.vista.networking sharing






Speedup My PC
Reply
  #1 (permalink)  
Old 02-15-2008
Stefano
 

Posts: n/a
Changing IP from command line
Hi,
I'm trying to change IP of my computer from command line. I'm using
this netsh.

netsh interface ip set address name = "Connessione alla rete locale
(LAN)" source = static addr = 192.168.210.130 mask = 255.255.255.0

(I'm using italian version)

The above command works under Windows XP but it doesn't modify IP
under Windows Vista.
If I use the same tecnique to modify gateway it works under Vista too

@netsh interface ip set address name = "Connessione alla rete locale
(LAN)" gateway = 192.168.210.45 gwmetric = 1

Is it possible to change IP from command line under Windows Vista ?

Thanks in advance,
Stefano
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 02-16-2008
usasma
 

Posts: n/a
RE: Changing IP from command line
I hope that these links will help you:
http://www.venkatarangan.com/blog/20...mand+Line.aspx
http://blogs.vishwak.com/blogs/venka...mand-line.aspx

-John

"Stefano" wrote:

> Hi,
> I'm trying to change IP of my computer from command line. I'm using
> this netsh.
>
> netsh interface ip set address name = "Connessione alla rete locale
> (LAN)" source = static addr = 192.168.210.130 mask = 255.255.255.0
>
> (I'm using italian version)
>
> The above command works under Windows XP but it doesn't modify IP
> under Windows Vista.
> If I use the same tecnique to modify gateway it works under Vista too
>
> @netsh interface ip set address name = "Connessione alla rete locale
> (LAN)" gateway = 192.168.210.45 gwmetric = 1
>
> Is it possible to change IP from command line under Windows Vista ?
>
> Thanks in advance,
> Stefano
>

Reply With Quote
  #3 (permalink)  
Old 02-19-2008
Stefano
 

Posts: n/a
Re: Changing IP from command line
On 16 Feb, 22:00, usasma <usa...@discussions.microsoft.com> wrote:
> I hope that these links will help you:http://www.venkatarangan.com/blog/20...9/change-ip-ad...
>
> -John
>


Yes thanks.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Article ID: 933662 When a 16-bit application passes command-line parameters to another application on a Windows Vista-based computer, the second application does not receive the command-line parameters KBArticles English 0 10-22-2007 20:00
XP command line Qfreed microsoft.public.windows.vista.networking sharing 2 08-25-2007 15:31
Cannot paste to command line Andrew Zirkel microsoft.public.windows.vista.general 2 07-17-2007 01:26
Vista Command Line =?Utf-8?B?cnNob2w=?= microsoft.public.windows.vista.file management 3 02-28-2007 17:43
Command line switch =?Utf-8?B?TXVyYWxpIFJhamVuZHJhbg==?= microsoft.public.windows.vista.mail 4 02-28-2007 03:06




All times are GMT +1. The time now is 17:03.




Driver Scanner - Free Scan Now

Vistaheads.com is part of the Heads Network. See also XPHeads.com , Win7Heads.com and Win8Heads.com.


Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.6.0 RC 2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120