Try DOSBOX which you can obtain for free. Google DOSBOX and review the specs.
There is no difference from Windows 7 and Windows 8 in regards to a command prompt.
Also try serching for XP Mode for Windows 8. There is a link if you search for XP Mode for Windows 7.
Regards to All,