But when all you want to do
is file viewing and not file editing - be it sql,txt,log,tmp,trc or
anything else, you
could give good old notepad and wordpad the much needed rest and try
this instead.
MakeHtm will embed any
text/html file content within pre tags so you can view it in htm/hta
format.
A great idea is to combine
this with the ClipRunRightClick tool so you could open an sql file
with makehtm, select the query/queries, rightclick on the browser to
run the query with
SqlhtmClipRunRightClick.
If you want, you can also
use two exporers, one for the makehtm.exe file and the other for the
supported ascii
source files like txt, sql, log, trc, htm, html etc and drag
and drop the source files into the makehtm.exe file to get the same
result.
Add MakeHtm to your list of file viewers.And don't forget to add it to your list of file viewers!
MakeHtm Used With CRRC To Run Local Queries-Check Out The Pictures Below.

Here are the steps:
STEP
1: Download the MakeHtm.zip file and unzip to a temp dir.
STEP 2: Double-click on the MakeHtm_Install.bat
file to copy files and create shortcuts.
STEP 3: RightClick on any txt, htm,html,log,trc
etc ascii files, select SENDTO and then sqllhtm_MakeHtm to view the
file in htm viewer.
You could also drag ascii files into the MakeHtm.exe file at
c:\Sqlhtm\MakeHtm.
Uninstall MakeHtm
with MakeHtm_Uninstall.bat file from the startmenu-sqlhtm-Makehtm or
from where you unzipped the zip file.