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

15,900

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
Share:
15,900

Related videos on Youtube

ericwenn
Author by

ericwenn

Software Engineer/Snowboarder

Updated on September 15, 2022

Comments

  • ericwenn
    ericwenn over 1 year

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

    I'm using: Windows 2008 Server IE 7

    • sed
      sed over 11 years
      why do you need to do that through dos?