Ordinarily if you just run iexplore on its own you get your home page
opening up ( - the "-nohome" bit means you get a blank page instead )
To get anything else you have to supply what's called an "argument" to
the program when you run it. So when you click on a .url, the .url get
substitued for %1 and gets passed as an argument to iexplore.exe.
iexplore.exe then figures out what page to open up, by examining the
.url file.
If you open up a url file in notepad, it just contains text info, which
iexplore is able to process
eg here's the contents of a .url file
[DEFAULT]
BASEURL=
http://news.bbc.co.uk/sport1/hi/football/world_cup_2006/schedule/default
.stm
[InternetShortcut]
URL=
http://news.bbc.co.uk/sport1/hi/football/world_cup_2006/schedule/default.stm
Modified=60BE8DD7D38FC601AB
--
Jon
The problem with troubleshooting is that trouble shoots back.
It may be of interest to note that "Larry"
Yeh, I figured out the -nohome part, but I don't see what the %1 is
doing? Thanks for your examples. Appreciate it.
Larry
You can try this to observe the difference
start > run > iexplore -nohome
A blank page opens up, instead of a web page.
Can't think of a reference offhand, but someone else may be able to
provide it.
--
Jon
Give us the tools and we will finish the job
--Winston Churchill
It cannot be denied that "Larry" <
[email protected]>
clearly stated in Thanks, Jon. Wouldn't the same page have opened without the trailing
"%1"? (It's not clear to me that it's needed there.) How should I
have known what the %1 meant? Is there a reference you can point me
to that shows the syntax for these file type settings? Thanks.
Larry
The particular web page you are opening eg
www.google.com is
substituted for the %1
Similar to doing something like
Start > Run > iexplore
www.google.com
--
Jon
In theory, there is no difference between theory and practice. In
practice, there is a big difference.
You may well be aware that "Larry"
<
[email protected]> had previously written in
In editing File Types, e.g.URL:HyperText Transfer Protocol, for
Open, I have " "C:\Program Files\Internet
Explorer\iexplore.exe" -nohome %1 ". What does the trailing "%1"do?
Thanks.
Larry