Simplewall: No Notepad plz

Created on 31 May 2019  路  4Comments  路  Source: henrypp/simplewall

Can we use something better than notepad for viewing the log file? It always opens windows builtin notepad even though I have notepad++ and even linked *.log files to open there as well? I.e. if I double-click on that file in explorer I get notepad++, but from simplewall UI it still opens basic notepad.

question

Most helpful comment

https://github.com/henrypp/simplewall/wiki/FAQ#how-can-i-use-3-rd-party-software-to-view-log

All 4 comments

download CSVFileView
https://www.nirsoft.net/utils/csv_file_view.html
extract to same same folder as simplewall.exe
open simplewall.ini in section of [simplewall] add following line
LogViewer=.\csvfileview.exe
restart simplewall

if it does not show anything change encoding in CSVFileView to show as unicode

https://github.com/henrypp/simplewall/wiki/FAQ#how-can-i-use-3-rd-party-software-to-view-log

however if you still want use notepad++ try changing exe and path of bellow registry file
bellow registry set Notepad2 as default notepad so SW will open notepad2

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe]
"Debugger"="\"C:\Program Files\Notepad2\Notepad2.exe\" /z"

thanks for everyone. In short I used my own way. Since the INI command (LogViewer=) is available, I just used it to point to notepad++.exe <3 Now it works.

Just in case -- one reason to use N++ instead of built-in -- it automatically detects that the file was appended and will ask a user if he needs to reload it. This way I dont need to reopen a log file every three minutes if I'm testing something. Only open once and reload as necessary.

Was this page helpful?
0 / 5 - 0 ratings