The character map codes work in DOS. Anyway they have for me.

The ~ and the ` are normally the top left key on the keyboard.

Of coarse if you language is other than American english, it maybe somewhere else.