6

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

I'm using: Windows 2008 Server IE 7

4

1 回答 1

7

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
于 2012-10-03T14:12:37.317 回答