Hilite is a console-based syntax highlighter
for a number of language files and scripts, including (but not
Python, HTML, XML, XHTML and XSLT. It makes quick reading of source code
files a lot easier without leaving the Windows Command Prompt.
Below, you can see a batch file displayed
using the regular
type command and the
(note syntax highlighting on comments like
rem, known commands like
cd and even environment variables):
Hilite [ ( FILENAME | - | ? ) [ LANGUAGE ] ]
The first argument can either be a file name or the dash (-) character. If it is
dash then standard input is used. In general, the tool can guess the syntax highlighting
.sql, HTML for
.htm and so on. In cases where the
extension is not obvious or cannot be inferred, you can specify the language as the
second argument. This is needed, for instance, if you are reading from standard input.
To see a list of supported language names, aliases and extensions, run
hilite ?—that is, using question mark (?) as the first and only
Download version 1.0.8506.0 . The download includes the C# source code & compiled binaries in debug and release configurations.
Hilite requires Microsoft .NET Framework 2.0 to run and supports the same set of operating systems as the runtime.