Lost the DOS prompt

Ibm / lenovo T60
September 24, 2009 at 02:48:32
Specs: Windows XP
Both IOBit Security 360 and Advanced System Care are very useful programmes -- that is, till you use the "Software Informer" button, which appears to be still in BETA.

In one guise it is much like Secunia (checking which of your programmes need updating), BUT it also "gathers" all of your desktop ikons onto one pop-up "panel" -- which would seem to be a great idea.

UNFORTUNATELY, if you try clicking on them, some of them don't work.

Worse, I found later that many of the ikons were then completely missing from the desktop!

Worse still, I could not access my Command (DOS) prompt ikon -- it was not only missing from the desktop, it would not work from Software Informer.

It has now completely disappeared from the computer -- I can only get to the DOS prompt by doing as a friend of mine suggested: RUNning "Cmd".

I've checked -- the DOS prompt is no longer to be found in "Accessories", so I cannot get it back to sit on the desktop.

So, HOW do I restore my "invisible" Command (DOS) Prompt???

I'd certainly appreciate any helpful suggestions, thanks!


See More: Lost the DOS prompt

Report •


#1
September 24, 2009 at 05:29:10
You never had a DOS Prompt, it is NT COMMAND PROMPT CMD.EXE.

System Restore to a time prior to wrecking your system...


Report •

#2
September 24, 2009 at 05:35:29
And if "Pater"'s sugestion doesn't resolve it.. check to see if "cmd" is still present in the System32 folder - it ought be there below the sub-folder listings (of course).

Presuming it is... manually create a new desktop shortcut pointing to it?


Report •

#3
September 24, 2009 at 06:28:28
Just a thought but try running "cmd /d" from the run box.

cmd has an autorun entry for the current user and/or the whole system.

HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\AutoRun

or

HKEY_CURRENT_USER\Software\Microsoft\Command Processor\AutoRun

Setting the value to "exit" causes cmd to exit it's self on startup. A similar trick also exist to essentially disable dos executable compatibility(but still allow win32 console apps) by adding "exit" to "%systemroot%\system32\autoexe.nt".


Probably a long shot but who knows....


[edit]
I just re-read your post and realized that cmd still works, all you need to do is add a new shortcut to it.

Rightclick on start button ->
"explore" ->
Navigate to "programs\accesories" ->
Rightclick on blank space ->
"New" ->
"Shortcut" ->
"browse" ->
"My computer" ->
"c:\" (There is a chance it could be another drive, but unlikely) ->
"windows\system32\cmd.exe" ->
"next" ->
type in "Command Prompt" ->
Rightclick on the new shortcut ->
"shortcut" tab ->
in the "start in" field type in "%HOMEDRIVE%%HOMEPATH%" ->
at the "comment field" type in "Performs text-based (command-line) functions." ->
"apply" ->
"ok"

It should now be pretty much a default command prompt.


Report •

Related Solutions

#4
September 24, 2009 at 12:45:36
Thanks guys -- I appreciate the help. I have yet to try the suggestions (it's kinda late at night...I'll try in the morning) but I am not sure they really address the problem, entirely.

I've always had the usual "DOS Prompt" of course, in Accessories, which I dragged out to my desktop. It's now gone from both locations.

I've tried using a DOS batch file that I put on the desktop, rather than always using RUN "cmd". (Right, it is not really "DOS", but it does run my DOS programmes, like WordStar....)

But with the batch file, after exiting WordStar, it goes straight back to Windows, and completely OUT of DOS! I can't get back to DOS by tabbing AS I USED TO -- only by re-opening the batch file on the desktop: ie. I can't STAY in DOS.

I want to be able to come OUT of WordStar, say, and STILL STAY in DOS to do other things. And, when I finally leave DOS, I want there to be still a proper Command Prompt (for DOS programmes) back on my desktop. (Typing CMD at RUN, you certainly won't get that.)

Currently, I can only STAY in DOS by using the CMD in RUN. But what I REALLY want is my usual DOS Prompt ikon back on the desktop again....

I guess I am asking: How do I make a batch file for a standard DOS prompt that will ALWAYS sit on the desktop, whether I am in DOS or not -- as before. So, for instance, I could even open a second DOS screen, if I want to.

Hope that's clear -- and thanks once again.


Report •

#5
September 24, 2009 at 15:52:28
I am pretty sure that the issue is that the shortcuts have been deleted(as I posted in #3).

Navigate to "c:\Documents and Settings\All users\Start Menu\Programs\Accessories"
Create a new shortcut called "Command Prompt" and make it point to "c:\windows\system32\cmd.exe". Right click on the new shortcut and select properties, open the "shortcut" tab. Change "target" to "%systemroot%\system32\cmd.exe" and change "start in" to "%HOMEDRIVE%%HOMEPATH%".


Report •

#6
September 25, 2009 at 10:13:37
I'd really like to thank you guys for your suggestions, particularly JUDAGO, for his detailed instructions!

I followed them exactly -- and it worked a treat.

I had really thought I would probably have to end up re-installing the system.... So this was a welcome relief!

I'll try to repay by checking here occasionally, to see if "I" can contribute, and help solve some other person's problem. Because you'd scarcely believe it, maybe (and I can say this because it is anonymous!) I used to write articles helping people understand computers -- back in the early 90's. But that was in the days of DOS (only). When Windows came along, it rapidly caught up with me -- and then forged ahead. Now it is me who is turning to others for help.....

Thanks to everyone -- you really helped a lot!


Report •


Ask Question