macsplex.com 로그인

검색

조회 수 936 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 게시글 수정 내역 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 게시글 수정 내역 댓글로 가기 인쇄
Extra Form
출처/참고/홈페이지 https://macsplex.com/6119741

SetDefaultBrowser 프로그램을 활용한 IE와 크롬 기본 웹브라우저 전환 스크립트입니다.

같은 폴더에 스크립트파일과 SetDefaultBrowser 실행파일이 있어야 합니다.

스크립트을 실행하면 자동적으로 판단하여 기본 웹브라우저가 IE와 크롬으로 변경이 됩니다.

변경된 브라우저에 대하여 메시지창으로 보여줍니다.

만약 다른 웹브라우저(파이어폭스,오페라,웨일등)으로 사용하고 있다면 IE로 변경이 됩니다.


@echo off
@setlocal EnableDelayedExpansion
For /f "tokens=2*" %%a in ('reg query "HKCU\SOFTWARE\Microsoft\Windows\Shell\Associations\UrlAssociations\http\UserChoice" /v Progid ^| findstr "REG_"') do (
if "%%b" == "IE.HTTP" (
		SetDefaultBrowser.exe chrome
		msg %username% 크롬으로 변경되었습니다.
	) Else (
		SetDefaultBrowser.exe ie
		msg %username% IE으로 변경되었습니다.
	)
)	





--------------------------------------------------광고(Advertising)-------------------------------------------------------------------------------------


Who's DNAVI

profile

안녕하세요 macsplex.com 웹마스터 DNAVI입니다.

오픈소스를 좋아하고 컴퓨터에서 돌아가는 OS와 소프트웨어를 설치하고 웹사이트를 운영하는데 관심이 많습니다.

 

가지고 있는 제품리스트

PC  :

homebuilt computer(Intel i7-4790K, ASUS MAXIMUS Ranger Vii, AMD Radeon R290),

homebuilt computer(AMD Phenom X4 630, GIGABYTE GA-61P-S3, NVIDIA GT8600),

Apple iMac 2009 late(Intel E7600)

Apple MacMini 2018(Intel i5-8500B, A1993)

homebuilt computer(AMD Ryzen 3200G, Asrock B450 Steel Legend)

 

Notebook :

Apple Macbook Air 2022 (M2, A2681)

Lenovo LEGION 5 Pro 16ACH R7 STORM (AMD R7-5800H, NVIDIA RTX3060 laptop)

Lenovo Thinkpad T420s(Intel i5-2540M)

Apple Macbook Air 2011 Mid( i5-2467M, A1370)

 

Server :

Dell PowerEdge R420(Intel XEON E5-2407)

Dell PowerEdge R710(Intel XEON E5620 x2, 32GB)

HP Proliant Microserver Gen8(Intel XEON E3-1230V2)

 

NAS :

Synology.DS218+

BUFFALO LinkStation Live LS-XL/E

 

Smartphone:

Motorola Edge 20 pro

Apple iPhone 12

Samsung Galaxy S8

Xiaomi Redmi Note 4, Mi 8

Lenovo Phab2 Pro

Apple iPhone 5

Huawei X3, Nova Smart

Blackberry 9790

 

Tablet :

Apple iPad Air2

Samsung Galaxy Tab S7+

 

Game Console :

Sony PSP, PS3, PS4 Pro, PS5

Microsoft Xbox 360, Xbox One X

Nintendo DS Lite, 3DS XL, Switch Lite, Switch

HardKernel Odrid Go Advance Black Edition

Gamepark GP2X-F100


List of Articles
번호 분류 제목
119 Windows 10 SATA에서 NVME 옮길때 Inaccessible_boot_device라고 나오면 file
118 Windows 11 Windows 11에서 한영키가 정상적으로 동작을 안할때 file
117 Windows 11 Windows 11 .NET framework 3.5 오프라인설치 file
116 Windows 10 AVAGO MegaRAID Storage Manager Windows 10 설치방법 file
115 Windows 10 IE실행시 엣지로 실행될때 강제로 막는법 file
114 mfc100u.dll 시스템 오류 file
113 Windows 10 공유폴더 연결시 네트워크 경로를 찾을수 없다고 나올때
112 Windows XP DST Root CA X3 루트 인증서 file
111 Windows XP Windows Update Agent 3.0 file
110 Windows 11 작업표시줄의 Windows 보안이 정상적으로 동작하지 않을때
109 Windows 10 IE(인터넷익스플로러)를 실행해도 엣지(Edge)로 변경될 경우 file
108 Windows 10 원도우10 설정 명령어
» Windows 10 IE 크롬 기본 웹브라우저 전환 스크립트
106 Windows 10 원도우10 .Net Framework 3.5 설치가 안될때 file
105 Windows 10 IP 변경 스크립트
104 Windows 7 원도우7 네트워크아이콘이 미연결로 바뀌지 않을때 file
103 Windows 10 로지텍 G633 내목소리가 들릴때 file
102 Windows 10 원도우에서 공유폴더 접속시 에레가 발생될때 file
101 Windows 10 탐색기가 이상이 있을경우
100 Windows 10 AMD 아드레날린2020 플루이드모션 활성화방법 file
Board Pagination Prev 1 2 3 4 5 6 Next
/ 6