JSI Tip 0517 - Automatically change Home Page as you move from your intranet to the internet.
May 5, 1998
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_USERSoftwareMicrosoftinternet ExplorerMainStart Page
Here is how (the changes are bolded):
REM Switch to prefered download directory
C:
CD C:ZIPNEW
c:winntregedit.exe /s c:utilHomeInt.reg
REM Dial your ISP
C:Winntsystem32RasPhone -d EntryName
REM Run your browser
"C:Program Filesinternet ExplorerIEXPLORE.EXE"
REM When you exit, hang up
c:winntregedit.exe /s c:utilHomeLoc.reg
c:winntsystem32rasdial EntryName /DISCONNECT
exit
where HomeInt.reg contains:
REGEDIT4
[HKEY_CURRENT_USERSoftwareMicrosoftinternet ExplorerMain]
"Start Page"="http://www.jsiinc.com/default.html"
and HomeLoc.reg contains:
REGEDIT4
[HKEY_CURRENT_USERSoftwareMicrosoftinternet ExplorerMain]
"Start Page"="http://JSI001/default.html"
You can also modify Search Page.
About the Author
You May Also Like