카

자기 컴퓨터에서 자신만에 홈피 주소 사용하기.

ip.bat // 파일 하나 생성하세요..
==========================================================================================
FIND /C /I "activate.adobe.com" %WINDIR%\system32\drivers\etc\hosts
IF %ERRORLEVEL% NEQ 0 ECHO ^서버아이피주소 홈페이지주소 # SIR >>%WINDIR%\system32\drivers\etc\hosts
===========================================================================================
저장후 실행하세요... 
 
Ex: 자신에 컴퓨터 아이피 주소가 192.168.10.200 이고 홈피 주소를 sir.com 사용하고 싶다
      같은 공유기 사용시에 같은 라인에 컴퓨터에서도 이걸 추가만 해줘도 되죠
==========================================================================================
FIND /C /I "activate.adobe.com" %WINDIR%\system32\drivers\etc\hosts
IF %ERRORLEVEL% NEQ 0 ECHO ^192.168.10.200 sir.com # SIR >>%WINDIR%\system32\drivers\etc\hosts
==========================================================================================
 

 
 
원상 복귀하는 방법  
C:\WINDOWS\system32\drivers\etc\hosts
 
hosts 파일에서
기본 소스
==============
# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host
127.0.0.1       localhost
==================================================
 
127.0.0.1 밑에 소스 지우시면되요.
 
|

댓글 5개

카이루님 늘 감사드립니다!
헐 늘은 아닙니다 심심할때만..;;;
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

8,188건
+
제목 글쓴이 날짜 조회
16-03-02 조회 3,248
16-01-19 조회 2,530
15-12-23 조회 2,961
15-12-08 조회 3,679
14-10-30 조회 5,737
14-06-06 조회 5,560
12-08-30 조회 3,913
12-08-20 조회 3,831
12-07-15 조회 5,158
12-07-13 조회 3,630
12-07-06 조회 3,858
12-06-27 조회 3,368
12-06-23 조회 3,572
12-05-03 조회 5,182
12-04-20 조회 4,128
12-03-29 조회 4,637
12-03-22 조회 4,742
12-03-22 조회 3,511
12-03-21 조회 3,285
12-03-11 조회 3,715
12-03-06 조회 4,265
12-02-22 조회 4,533
12-02-17 조회 3,331
12-02-17 조회 6,180
12-02-14 조회 6,139
12-02-06 조회 4,264
12-01-18 조회 3,218
12-01-06 조회 3,445
11-12-30 조회 3,917
11-12-30 조회 7,062
11-12-21 조회 3,283
11-12-21 조회 4,247
11-12-16 조회 3,275
11-12-15 조회 3,323
11-12-15 조회 3,423
11-12-15 조회 4,224
11-12-09 조회 3,229
11-12-09 조회 3,309
11-12-07 조회 2,877
11-12-07 조회 3,962
11-12-05 조회 4,419
11-12-02 조회 3,863
11-12-01 조회 2,737
11-12-01 조회 2,781
11-12-01 조회 2,767