Problem: For some odd reason, the windows zip util will not zip up folders with Unicode file names. So, I need to convert a large set of filenames (not the contents) to ASCII files names. The answers here discuss content conversion
How do I mass/bulk convert/rename the file name itself in windows CMD line or Power Shell. I don't care about what the outputfile name has extra1 etc.
//While this changes the content inside the file. it does not rename my file name!
COPY /Y UniHeader.txt Unicode_Output.txt
CMD /U /C Type ANSI_Input.txt >> Unicode_Output.txt
It took me a while, since I am not a powershell guy clearly... but it worked, and I am sharing!!
cd c:\MyDirectoryWithCrazyCharacterEncodingAndUnicode
Copy and past the script in your Powershell windows
While searching I also found out how to fix the encoding for others, for people who keep getting output encoding to ASCII or Unicode all the time, you can set output encoding to whatever encoding you want from Microsoft blog
$OutputEncoding
Issues 1, 2, 3 for bulk Hex to Ascii just replace the file names with variable you want to input