How to change boot drive?

Daniel 558

Prominent
Jul 1, 2017
1
0
510
I changed the boot drive from C to D (using EasyBCD) , now my pc won't boot.
How can I change the boot drive back to C?
I have access to Windows 10 recovery menu which has a command line prompt.
Thanks in advance.