Hi!
I would appreciate some help on this string:
shell ("netsh.exe interface ip add address name=""" & TextBox1.Text & """ addr=192.168.254.2 mask=255.255.255.0")
This is all as a single line of code, but when executed, it is line shifted right after the last &, like below:
netsh.exe interface ip add address name="Local Area Connection
" addr=192.168.254.2 mask=255.255.255.0
What am i doing wrong? Because of this , netsh wont work...
Thanx
M-sport
I would appreciate some help on this string:
shell ("netsh.exe interface ip add address name=""" & TextBox1.Text & """ addr=192.168.254.2 mask=255.255.255.0")
This is all as a single line of code, but when executed, it is line shifted right after the last &, like below:
netsh.exe interface ip add address name="Local Area Connection
" addr=192.168.254.2 mask=255.255.255.0
What am i doing wrong? Because of this , netsh wont work...
Thanx
M-sport