I have a need to use one home page for my intranet and a different one when I connect to the internet. Using IE 4.x, I could not find a standard method for accomplishing this.

In tip 090, I created D-I-Y autodial. Using that technique and setting IE 4.x for an intranet home page, I changed my autodial to modify the registry at:

HKEY_CURRENT_USER\Software\Microsoft\internet Explorer\Main\Start Page

Here is how (the changes are bolded):

REM Switch to prefered download directory
C:
CD C:\ZIPNEW
c:\winnt\regedit.exe /s c:\util\HomeInt.reg
REM Dial your ISP
C:\Winnt\system32\RasPhone -d EntryName
REM Run your browser
"C:\Program Files\internet Explorer\IEXPLORE.EXE"
REM When you exit, hang up
c:\winnt\regedit.exe /s c:\util\HomeLoc.reg
c:\winnt\system32\rasdial EntryName /DISCONNECT
exit

where HomeInt.reg contains:

REGEDIT4

\[HKEY_CURRENT_USER\Software\Microsoft\internet Explorer\Main\]
"Start Page"="http://www.jsiinc.com/default.html"

and HomeLoc.reg contains:

REGEDIT4

\[HKEY_CURRENT_USER\Software\Microsoft\internet Explorer\Main\]
"Start Page"="http://JSI001/default.html"

You can also modify Search Page.