\
Windows Commands
TYPE (displays contents of a file)
TYPE (displays contents of a file) |
Apart from its obvious use to display the contents of a file it has an
important side effect.
Some windows commands/programs return "UNICODE" text and Windows doesn't
support this very well, if your not getting the results you want UNICODE can
be the reason.
The file can easily be converted to ASCII by the type command:
TYPE unicode-file.txt > ascii-file.txt
The "WMIC.exe" command is an example of a
command that generates UNICODE. Use a hex editor such as "HxD" to examine
the file and you will see all the "00" (null) bytes as well as a 2 byte header.
Displays the contents of a text file or files.
TYPE [drive:][path]filename