What version of the language should I use in Notepad ++ with my Windows host file for readability?

Perhaps this is a stupid question, but today I worked in the hosts file (C: \ windows \ system32 \ drivers \ hosts) in Notepad ++ and would like to use language formatting.

For example, the first line is a comment

# Copyright (c) 1993-1999 Microsoft Corp. 

Which language to choose to view the file?


Answer : Perl formatting was exactly what I was looking for. Thanks for the help.

alt text

+6
windows programming-languages formatting notepad ++ hosts
source share
1 answer

The host file is not written in any programming language. This is just plain text in a format that can be easily processed by some system and network applications. In addition, anyone can find a parser that processes text limited to # as comment lines.

(And if you didn't get a hint, select the option in bold.)

+7
source share

All Articles