Sollte doch so gehen, oder nicht?
Delphi-Quellcode:
InputString:= InputBox('
Neue IP-Adresse', '
', edlocalip.text);
edlocalip.Text := inputstring;
WinExec(PChar(windir+'
netsh interface ip set address name = "LAN-Verbindung" source = static addr = '+inputstring+ '
mask = 255.255.255.0'),SW_SHOWNORMAL);
Grüße
Klaus