log file opens automatically when it is focussed
Forum rules
READ THIS AND DO IT!!!
Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
READ THIS AND DO IT!!!
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
-
Tamil
- Posts: 129
- Joined: 10 Sep 2006 14:30
- Location: .in
- Contact:
log file opens automatically when it is focussed
In preview mode, log file opens automatically when it is focused. Double click on it opens in associated editor.
-
admin
- Site Admin
- Posts: 66431
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: log file opens automatically when it is focussed
log file? Give me more words, please.
-
Tamil
- Posts: 129
- Joined: 10 Sep 2006 14:30
- Location: .in
- Contact:
Re: log file opens automatically when it is focussed
File with log extension.admin wrote:log file? Give me more words, please.
-
jacky
- XYwiki Master
- Posts: 3106
- Joined: 23 Aug 2005 22:25
- Location: France
- Contact:
Not sute if this is the case here, but if IE is configured to have *.log files to be automatically opened with notepad (for example) instead of viewed within IE, clicking on a LOG file while having the Preview Tab on would automatically have the file opened in the notepad, as its the expected behavior (since XY "opens"/preview the file through IE).
Note that, how you configure this IE behavior, just like whether or not it should pop up the Open/Download window when clicking on files it kind of a mystery to me; I'm just glad it always pops up that window and never tried anything that could risk me to loose/change this behavior
Note that, how you configure this IE behavior, just like whether or not it should pop up the Open/Download window when clicking on files it kind of a mystery to me; I'm just glad it always pops up that window and never tried anything that could risk me to loose/change this behavior
Proud XYplorer Fanatic
-
admin
- Site Admin
- Posts: 66431
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
-
RalphM
- Posts: 2092
- Joined: 27 Jan 2005 23:38
- Location: Cairns, Australia
-
lukescammell
- Posts: 744
- Joined: 28 Jul 2006 13:15
- Location: Kent, UK
- Contact:
-
admin
- Site Admin
- Posts: 66431
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
For some reason your browser is configured to download or open-with-associated this file type, and confirmation is turned off. The latter you can adjust in the file types (extension LOG) config that you find in Explorer/Tools/Folder Options (or similar -- I only have the German version here). The former I think has to do with MIME-types, but the details are a mystery to me.RalphM wrote:Just FYI those files open in Notepad on my sys as well.
I'm pretty sure this didn't happen a while ago with previous betas. Just not sure how far back this was.
-
admin
- Site Admin
- Posts: 66431
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
(A) Okay, I found the way. Note: I do not say it's good, but it works. You care for yourself.
Open Registry.
Goto HKEY_CLASSES_ROOT\.log
Add a new key of type string, and call it "Content Type".
Set it to this value: text/plain
By this you tell your browser that it shall treat LOG files as simple text files and open them (instead of downloading them).
(B) Since XY is portable and the above is changing the local registry, I will remove LOG files from previewed formats! So the above is just for your entertainment and enlightment!
Open Registry.
Goto HKEY_CLASSES_ROOT\.log
Add a new key of type string, and call it "Content Type".
Set it to this value: text/plain
By this you tell your browser that it shall treat LOG files as simple text files and open them (instead of downloading them).
(B) Since XY is portable and the above is changing the local registry, I will remove LOG files from previewed formats! So the above is just for your entertainment and enlightment!
-
jacky
- XYwiki Master
- Posts: 3106
- Joined: 23 Aug 2005 22:25
- Location: France
- Contact:
hmm.. not sure I get your logic here. I mean ok XY is portable, but why remove LOG files from previewed formats? Or, why LOG only and not TXT files aswell?? One could have its IE configured to open with automatically with notepad instead of within IE aswell, no?admin wrote:(B) Since XY is portable and the above is changing the local registry, I will remove LOG files from previewed formats! So the above is just for your entertainment and enlightment!
Besides, if you go there.. why not remove ALL that goes through IE, as it will alway depend on the PC XY is running on for all those formats (HTM, DOC, PDF, XLS, etc) ??
Besides, one can just uncheck *.log on the Config window (as I did for example
Proud XYplorer Fanatic
-
Tamil
- Posts: 129
- Joined: 10 Sep 2006 14:30
- Location: .in
- Contact:
-
admin
- Site Admin
- Posts: 66431
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
The point is: the other file types you mention usually have the "Content Type" key set in the registry. LOG files apparently not! Prove me wrong.jacky wrote:hmm.. not sure I get your logic here. I mean ok XY is portable, but why remove LOG files from previewed formats? Or, why LOG only and not TXT files aswell?? One could have its IE configured to open with automatically with notepad instead of within IE aswell, no?admin wrote:(B) Since XY is portable and the above is changing the local registry, I will remove LOG files from previewed formats! So the above is just for your entertainment and enlightment!
Besides, if you go there.. why not remove ALL that goes through IE, as it will alway depend on the PC XY is running on for all those formats (HTM, DOC, PDF, XLS, etc) ??
Besides, one can just uncheck *.log on the Config window (as I did for example) so they get previewed as Raw View in XY. You want it to go through IE you can, you don't you can aswell, isn't everyone happy that way? Why change it?
I'm not even sure if *.log is a definite file format, or rather a semantic suffix telling that this file does log something in whatever format (maybe even binary). So it might be even dangerous to open them in IE.
-
j_c_hallgren
- XY Blog Master
- Posts: 5826
- Joined: 02 Jan 2006 19:34
- Location: So. Chatham MA/Clearwater FL
- Contact:
I just searched for all the .LOG files on my W2K sys...found about 300...did a quick raw view of them...almost all showed as Ascii-DOS, with a few as Unicode-DOS, Ascii-Mac/DOS or empty or in-use, but there were about a half-dozen that were definitely binary! So I think that .LOG is whatever the application wants to format it as, with most being a text style but not required to be...
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
-
admin
- Site Admin
- Posts: 66431
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Thank you, that's exactly what I gathered.j_c_hallgren wrote:I just searched for all the .LOG files on my W2K sys...found about 300...did a quick raw view of them...almost all showed as Ascii-DOS, with a few as Unicode-DOS, Ascii-Mac/DOS or empty or in-use, but there were about a half-dozen that were definitely binary! So I think that .LOG is whatever the application wants to format it as, with most being a text style but not required to be...
XYplorer Beta Club
