How to set IPV4 using Netsh

M

Martin Wærøe

Guest
I get this error 'static' is not a valid argument for this command. What is the correct command?

My code:

import subprocess

subprocess.call('netsh interface ipv4 set interface "" static= 192.168.3.8 255.255.255.0 192.168.3.1')

Continue reading...
 
Top