Ben
Ben

Reputation: 2801

How do I set the homepage in ie from a DOS batch script

Is there a way to set the Internet Explorer homepage from a dos batch script.

I'm using: Windows 2008 Server IE 7

Upvotes: 6

Views: 16361

Answers (1)

SeanC
SeanC

Reputation: 15923

the value for the home page is stored in the registry.

if all you want to do is set the home page, then a .REG file would be easier:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main]
"Start Page"="http://www.stackoverflow.com/"

if it's part of an installation, then you an use the REG command to access the registry:

REG ADD "HKCU\Software\Microsoft\Internet Explorer\Main" /V "Start Page" /D "http://www.stackoverflow.com/" /F

Upvotes: 7

Related Questions