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

Á¤¿øÀç   
   Á¶È¸ 5657   Ãßõ 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 3499/5681
2014-05   4949540   Á¤ÀºÁØ1
2015-12   1486248   ¹é¸Þ°¡
2006-04   5655   ±èÁø¼ö
2012-07   5655   ½Ì¾î¼Û¶óÀÌÅÍ
2016-06   5655   È­¼­µ¿SWAT
2009-03   5656   Sico
2006-03   5656   °­½ÂÈÖ
2017-02   5656   ¿©ÁÖ³ó¹Î76
2015-06   5656   ITES
2006-04   5656   Á¤Çö±¸
2012-06   5656   ½Ì¾î¼Û¶óÀÌÅÍ
2005-07   5656   ±è´ö±â
2005-05   5656   ±èÇüÇÊ
2005-10   5656   À±Á¾¿Ï
2006-04   5656   ¼ÛÈ£ÁØ
2005-06   5656   ¿À¼º¿í
2005-05   5656   ÀÌÁø½Ä
2014-10   5656   À̼±±Ô
2014-07   5656   Çõ±º
2007-11   5656   ÃÖ¹®½Ä
2018-06   5657   ±³±³±³
2017-01   5657   ´Ù¿Â