Setting Static IP through a batch file:-
-------------------------------------------
@ECHO OFF
echo "Setting Static IP Information"
netsh interface ip set address "Local Area Connection" static 10.0.0.9 255.0.0.0 10.0.0.1
netsh int ip show config
pause
Copy it in notepad and save as .bat file.
-------------------------------------------
@ECHO OFF
echo "Setting Static IP Information"
netsh interface ip set address "Local Area Connection" static 10.0.0.9 255.0.0.0 10.0.0.1
netsh int ip show config
pause
Copy it in notepad and save as .bat file.
No comments:
Post a Comment