Discussion Locked

Problem with the Command Prompt

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hello !
I have Windows XP Professional at home. When I try to run the command prompt by going to Start --> Run and typing cmd, the DOS command prompt window opens up just for a split second & then disappears. Also, if I type msconfig & run it, nothing happens nor does the regedit works (unable to open up the registry).
I'll appreciate if anybody can kindly suggest me a suitable solution to resolve my problem.
Please note that there is No virus on my pc as I've just scanned for the same.
Thanks,
Junaid Kapadia

6 replies

by garydw

Try creating a shortcut on the desktop that points to CMD - If that still closes then there is probably an error message that is appearing, Unfortunately, The PC is so quick you never see it.

In this case create a one-line batch file with the command 'pause' (without the quotes) in it.

Run this - You should hopefully now be able to see an error message or SOMETHING and it should help with fixing the problem!

Regards,

--
Gary Williams.

by lwt

Sounds like you should run System File Checker (sfc /scannow), or if that doesn't fix it, boot from the XP CD and run a repair.

by nasrbunduka

Hi,
Well its not serious if you think but only when you want to do something like running regedt32 on the run is for Win NT Family and regedit is for win 9x Family. Hoipe you understood.
Second about the msconfig it dosen't work like that in Win NT family go to system information.
I guess you know much about Win9x Family then Win NT Family.
Third the command prompt i guess you have messed up a lot which you haven't realized in your windows XP Your need to do recovery console or try to reinstall windows so that everything will be working properly. for more tech support contact me by email:

by uch

I sugest you replace the CMD.exe application file in [%SystemRoot%\System32] folder with that on the XP installation CD.

In addition, you should run it a a batch file with the Pause command as someone suggested.

GoodLuck

by ben.piddington

In response to Answer 2: Sounds like you should run System File Checker (sfc /scannow), or if that doesn't fix it, boot from the XP CD and run a repair.

This could be a problem if you have Windows installed on a RAID controller, you will need theRAID device controller and press F6 when Windowsxp install has just begun.

To get it working you could boot from a Windows Boot Disk to a command prompt and replace the nesscesary files mentioned above outside of the Windows environment- If you have it installed on the default NTFS file system booting to DOS could be a problem, make sure it is on a FAT32 before you do this.

by dbowlin

Go to the cmd.exe file and right click it and go to properties. Check to make sure the buffer settings are reasonable,etc.

Good Luck,

This discussion is closed to new replies.