Preview of .log files
-
- Posts: 7
- Joined: Fri Jan 26, 2018 8:38 pm
Preview of .log files
I wonder, where I need to configure or change the settings to preview .log files the same way like .txt, .bat, and so on?
Re: Preview of .log files
Everything uses the preview functionality of Windows. Windows has no specific too aboard to handle this.
There are third party toools that can, but I can't think of thei names.
This is what I wrote and use:
Drag a (any) .log file to TextPreview.cmd, press any key and you are done.
TextPreview.cmd
There are third party toools that can, but I can't think of thei names.
This is what I wrote and use:
Drag a (any) .log file to TextPreview.cmd, press any key and you are done.
TextPreview.cmd
Code: Select all
@echo off
if "%~x1" == "" (
echo. Wrong file!
pause
goto :EOF
)
echo Install "%~x1" text preview handler. CTRL-C to exit
pause
reg.exe add "HKCU\Software\Classes\%~x1" /v "PerceivedType" /D "text" /f
pause
Re: Preview of .log files
https://www.winhelponline.com/blog/prev ... ows-vista/NotNull wrote:There are third party tools that can, but I can't think of their names.
Thanks to ovg
viewtopic.php?f=5&t=7350
Regards,
Karl
Re: Preview of .log files
Another way:
Right click on any .log file. Click on properties.
On the line "Open With" in the General tab, click the "Change" button.
If you are then given a choice of recommended programs, select "Notepad" OR
Click "browse" and go to "C:\Windows" then double click on "notepad.exe"
Click OK
Now "Notepad" will be the default open application for .log files. This method can be used for any extension and any application that can process that extension.
Right click on any .log file. Click on properties.
On the line "Open With" in the General tab, click the "Change" button.
If you are then given a choice of recommended programs, select "Notepad" OR
Click "browse" and go to "C:\Windows" then double click on "notepad.exe"
Click OK
Now "Notepad" will be the default open application for .log files. This method can be used for any extension and any application that can process that extension.
-
- Posts: 7
- Joined: Fri Jan 26, 2018 8:38 pm
Re: Preview of .log files
Thanks, the PreviewConfig does exactly, what's needed. Intuitive, easy. Thank you!