You can get to a Command Prompt like so:
1. Set your BIOS to use the DVD drive as the primary boot device.
2. Boot with a Windows Repair CD.
3. Press a key when the message indicating "Press any key to boot from CD or DVD …" appears.
4. Select a language, a time and currency, and a keyboard or input method, and then click Next. You are now in Repair Mode.
5. Select an Operating System, then click Next.
6. Select the Command Prompt.
7. Identify the correct drive letter for your Windows installation. It could be a drive other than C: but it won't be X:. You do it by typing the commands
dir C:\Win* {Enter}
dir D:\Win* {Enter}
dir E:\Win* {Enter}
etc.
until you find the Windows folder.
Instead using a Windows Repair CD in Step 2, you can use your Windows 7 Installation DVD. The steps are similar to the ones above.
Whether the above steps will solve your problem I do not know.