|
Posted by Jonathan N. Little on 09/26/07 14:20
Terry Pinnell wrote:
> I'm not entirely sure if this is OT or not, but wonder if anyone here
> can offer any thoughts please.
>
> From my text editor, TextPad, I can open URLs like
> http://goldwave.ca/forums/
> directly, by r-clicking and choosing Open. I expect that's commonplace
> with most text editors.
>
> I can also open a link to my local HD like this
> file://D:/Docs/SUNDRY/Graphics/terry02.gif
> in its associated application (in that case, IrfanView).
>
> Similarly, this one
> file://D:/Docs/SUNDRY/Graphics/WEBGRA~1.HTM
> opens in my Firefox browser.
> (I could have avoided the 8.3 syntax by using this
> file:///D:/Docs/SUNDRY/Graphics/Web%20Graphics%20on%20a%20Budget%20-%20Layers.htm
> )
>
> But here's my problem. *Some* of the web pages I've saved are
> incompatible with Firefox but *do* work in MSIE6. (Various reasons,
> but typically some sort of Java issue.)
I doubt it is a *Java* issue but maybe a *JavaScript* or *JScript* issue
where someone did one of those "MSIE Only Pages"
>
> So my question is: how can I can amend a link like
> file://D:/Docs/SUNDRY/Graphics/WEBGRA~1.HTM
> so that it's forced to open in IE6, instead of the program associated
> with HTM (Firefox)? FWIW, my IE6 is at the usual location
> C:\Program Files\Internet Explorer\iexplore.exe
>
Do you mean just for yourself of for everybody? If you mean the former
and it is just a shortcut on your local machine then just edit the
target of the shortcut and preface with the path to iexplore.exe
"C:\Program Files\Internet Explorer\iexplore.exe"
file://D:/Docs/SUNDRY/Graphics/WEBGRA~1.HTM
Or your can make a simple batch file like:
rem withIE.cmd -----------------------------------
@echo off
set ARGS=%1
shift
rem single arg or pre-quoted? Just do it...
if '%1' == '' goto DOIT
:MULTIWORDS
rem build multi-word path
set ARGS=%ARGS% %1
shift
if not '%1' == '' goto MULTIWORDS
rem add quotes around multi-word path
set ARGS="%ARGS%"
:DOIT
rem start "%PROGRAMFILES%\Internet Explorer\iexplore.exe" %ARGS%
:END
set ARGS=
rem -------------------------------------------------
put it on your desktop and drag/n drop html files on it or call with a
cmd line. Of your it could be adapted for other apps... Personally I
just right-click and use Open With... I have multiple browsers for
testing, NN4.6-7.1 MSIE4-7, Opera7.4-9.2 FF2.0.0.7 and my default
SeaMonkey 1.1.4
If you mean the latter, for everyone else then you cannot. IF you tryed
what would happen if I click the link on my Ubuntu box?
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Navigation:
[Reply to this message]
|