Windows XP Community - XPHeads



Registry Mechanic - Free Scan Now

Re: Openning text files in IE

microsoft.public.windowsxp.perform_maintain


Reply
  #1 (permalink)  
Old 01-23-2008, 07:08 PM
Robert Aldwinckle
 
Posts: n/a
Re: Openning text files in IE
(cross-post added to XP Perform_Maintain)
"Daniel" <Daniel@discussions.microsoft.com> wrote in message
news:65655DAE-6A15-49EC-8816-47BFB5FC698F@microsoft.com...
> Hi,
>
> When I drag & drop a .txt file into IE, it opens it successfully in the
> browser.
> Problem is that on some machines when I drag & drop a .log file (which is a
> regular text file), it does not open inside the browser. If I configure .log
> files to be opened with notepad they are simply opened by notepd. If I
> configure them to be opened by IE, nothing happens.
>
> On some machines, IE displays the .log files inside the browser as desired,
> though.
>
> Any ideas?



That's bizarre. I thought it might be that the *.log file would contain non-text
characters and that that would account for the "download and open" symptom [2]
but I can rename a .txt file (which IE will open) with a .log extension and
then it won't open it?

Assoc and Ftype look as if both extensions [1] would be treated the same
by Windows:

<cmd_output>
F:\>assoc .log
..log=txtfile

F:\>assoc .txt
..txt=txtfile

F:\>ftype txtfile
txtfile=%SystemRoot%\system32\NOTEPAD.EXE %1
</cmd_output>

And Run... Control Folders File Types tab confirms that apparent equivalence.

So, there is probably a more subtle difference in the registry somewhere.

I would try using ProcMon to check for that possibility but don't have
time right to analyse it now.

[1] when I wrote that "both extensions" I realized that another factor
could be the MIME-sniffing security default which ignores file extensions;
so for completeness we probably should test that case too but I don't think
it is supposed to apply to local files.

[2] Re-reading "download and open" made me remember another undiagnosed
oddity in IE7. I have a .lnk file in my Links bar which works fine as a button
(for opening OE) but when I drill down to it in the Address bar I first get a
File Download Security Warning, which actually stops and requires Open
to be clicked in order to continue. Figuring out that one might help understand
or at least analyse your symptom too (and vice versa <w>).


BTW this could have more to do with your OS than with IE
but you haven't disclosed that detail. Cross-posting to an XP newsgroup
anyway (my OS).


HTH

Robert Aldwinckle
---


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 09:32 PM.


Registry Mechanic - Free Scan Now
Driver Scanner 2009 - Free Scan Now




Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74