![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Add ip route to a computer. Is it possible to add a ip route to a remote computer? I know it is possible by using WScript.Shell with the route add command. But is there a better way of doing this? Thanks. |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Add ip route to a computer. Hi Nirvana, what about WMI ? It's often a good choice because it runs in the same way both locally and remotely. To manage routes see Win32_IP4RouteTable and Win32_IP4PersistedRouteTable. These classes had no ADD method, but you can add a route simply creating a new instance of the same type (SpawnInstance method of the WMI base object on namespace root/cimv2). A good article about this is on WindowsITPro: http://windowsitpro.com/article/arti...rough-wmi.html Massimo. "nirvana" <nirvana@xxxxxx> ha scritto nel messaggio news:5D4BC1C7-4EFD-4AA2-BAFC-418DD8ADD7EA@xxxxxx Quote: > Is it possible to add a ip route to a remote computer? I know it is > possible > by using WScript.Shell with the route add command. > > But is there a better way of doing this? Thanks. > |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Route Tables ?? | Vista General | |||
| Add Route | Vista General | |||
| new computer with vista/cannot connect to internet using isp route | Vista networking & sharing | |||
| Help: Route Add Failed? | Vista General | |||
| Route add doesn't work | Vista networking & sharing | |||