Changing an unknown key,pitch

Wondering if there is a way to change an unknown key to a certain key, as unknown key to key of D

Audacity 2.1.0
Windows 8/64b

You will have to work out what the “unknown key” is. Audacity cannot guess what key you want to transpose from.