Convert Unicode file to ANSI using Bat file

2019-07-26 06:26发布

问题:

I need to convert a unicode text file (19,000K) to an ANSI text file for use with Essbase.

I currently have this written to convert the file but only the first 7800 lines are copying.

This is what I have in my .bat file

cmd /a /c TYPE PVTBHFM_20160708.dat > PVTBHFM_ANSI.dat

What am I missing to fully convert this file?

Is there a way to save the file in a different location?