Unicode to Ansi

Convert a file to Ansi.

Description: An easy way to convert an UNICODE encoded file to ANSI is by running a TYPE command in a new instance of CMD.exe with /A option and piping the output into a new file.
The following script converts a text file named myfile.txt into the ANSI encoded file named myansifile.txt.
Note myfile.txt can be UNICODE or ANSI the result will always be an ANSI encoded file.
Script:
1.
cmd /a /c type myfile.txt>myansifile.txt