[re] ¹èÄ¡È­ÀÏ °ü·Ã Áú¹®ÀÔ´Ï´Ù.

Á¤¿øÀç   
   Á¶È¸ 5655   Ãßõ 19    

¾È³çÇϼ¼¿ä? kia66662000 ´ÔÀÌ ¿Ã·ÁÁֽŠÀڷḦ ¹ÙÅÁÀ¸·Î º¹»çÇÏ¿© ^^¹®Á¦ ÇØ°áµÇ¾ú½À´Ï´Ù ÃÖÁ¾ ¹èÄ¡´Â ¾Æ·¡¿Í °°½À´Ï´Ù.

@ECHO off
set /p ren=º¯°æÇÒ ÄÄÇ»ÅÍ À̸§:TEST-

echo y|reg add HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters /v Hostname /t REG_SZ /d TEST-%ren%
echo y|reg add HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters /v "NV Hostname" /t REG_SZ /d TEST-%ren%
echo y|reg add HKLM\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName /v ComputerName /t REG_SZ /d TEST-%ren%


endlocal

SET _IP=


cls
echo.
echo.
echo.
echo                     ¾ÆÀÌÇÇ(IP) ³¡¹øÈ£¸¦  ÀÔ·ÂÇØ ÁÖ¼¼¿ä.....
echo.
echo.
echo.
set /p _IP= ¾ÆÀÌÇǸ¦ ÀÔ·ÂÇÒ ¹øÈ£¸¦ ÀÔ·Â :
SET IP=192.168.0.%_IP%
SET NAME=TEST-%_NAME%
SET SUBNETMASK=255.255.255.255
SET GATEWAY=192.168.0.1
SET stDNS=0.0.0.0
SET ndDNS=0.0.0.0
SET NICName="·ÎÄà ¿µ¿ª ¿¬°á"


Echo *** IP and GATEWAY ¼¼Æà Áß.. ±â´Ù·ÁÁÖ¼¼¿ä.. ***
netsh interface ip set address %NICName% static %IP% %subnetmask% %gateway% 1


Echo *** DNS »èÁ¦ ***
REM netsh interface ip delete dns %NICName% all


Echo *** 1Â÷ DNS ¼¼Æà Áß.. ±â´Ù·ÁÁÖ¼¼¿ä.. ***
REM netsh interface ip set dns name=%NICName% source=static addr=%stDNS% register=PRIMARY

Echo *** 2Â÷ DNS ¼¼Æà Áß.. ±â´Ù·ÁÁÖ¼¼¿ä.. ***
REM netsh interface ip add dns name=%NICName% addr=%ndDNS% index=2


echo *** WINS »èÁ¦ ***
REM netsh interface ip delete wins %NICName% all


Echo *** WINS ¼¼Æà Áß.. ±â´Ù·ÁÁÖ¼¼¿ä.. ***
REM netsh interface ip set wins %NICName% static %WINS%
1

ipconfig /all
pause

ªÀº±Û Àϼö·Ï ½ÅÁßÇÏ°Ô.


QnA
Á¦¸ñPage 3479/5680
2015-12   1483534   ¹é¸Þ°¡
2014-05   4946879   Á¤ÀºÁØ1
2005-08   5633   ¼­Ãá½Ä
2005-06   5633   À̺´Çå
2006-08   5633   À±È£¿ë
2005-10   5633   ±¸¸í¼­
2006-01   5633   À̹οµ
2016-12   5633   Sunrise
2006-01   5633   Áøº´ÀÏ
2015-04   5633   ½ÅÀº¿Ö
2013-03   5634   6Åø
2015-07   5634   Àü¼³¼ÓÀǹ̡¦
2015-05   5634   ÇìÄ¡Áö¾Ê¾Æ¿ä
2015-08   5634   ¾Æ¼¼´Ð
2016-03   5634   À̼±È£
2016-09   5634   v·¹µåº£¾îv
2016-03   5634   ±¼´Ù¸®±³
2013-10   5634   s±èÁ¾È­z
2005-10   5634   ¹ÚÀÌÁØ
2005-07   5634   ±è°Ç¿ì
2021-03   5634   ¼ø´ë±¹¸Ç
2013-02   5634   ÀÌ»çÀå