I have a bunch of dynamically created *.BAT files.
These BAT files are used to create folders in a server.
Just one line in each BAT file, such as: MKDIR \NetworkShare\abc\123

This "abc\123" string is from a Database.

It runs ok for a while to create thousands subfolders on demand until today it stopped creating a special subfolder which has a "close single quote" (alt-0146 if typing from dos prompt) in the string.

I did some research and find that this "close single quote" is an extended ASCII character, It can't be saved properly in ANSI BAT file (end up as something else). I tried UNICODE and UTF-8 BAT file, doesn't work.

The only near-close solution is that I tried binary editor to make sure it's code 146, but code 146 gives me Æ (ALT-146) not "close single quote" (ALT-0146).

I know I can manually type special characters in DOS prompt (by using keyboard ALT-).
But Is there a way to properly save this "close single quote" (alt-0146) in BAT file so I can execute them dynamically?