NETSH and Logon Script

Reply

Join Date: Aug 2005
Posts: 239
Reputation: extofer is an unknown quantity at this point 
Solved Threads: 5
extofer's Avatar
extofer extofer is offline Offline
Posting Whiz in Training

NETSH and Logon Script

 
0
  #1
Apr 11th, 2006
I'm new to WSH, trying to get a Logon script to work combinins VBS and NETSH.

I have instanciated the object

Set objShell = CreateObject("WScript.Shell")

and I'm trying to run a NETSH command off of this:


objShell.run "cmd netsh interface ip set address "Wireless Network Connection" static 10.0.0.7 255.255.255.0 10.0.0.1 1"

In the end, this does nothing, just opend a DOS promtp... any suggestions??
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Networking Hardware Configuration Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC