Please advise how to close a dos window bypassing end now

January 2, 2012 at 01:19:09
Specs: Windows XP
If I have a dos window open and wish to close it I click on x which takes me to an intermediate step giving me a choice either to close now or cancel. My aim is to bypass this choice and proceed to windows closing immediately I click on x.

See More: Please advise how to close a dos window bypassing end now

Report •

#1
January 2, 2012 at 01:29:23
You mean command prompt window as there is no DOS in windows XP. DOS is an operating system in its own right, not just a command prompt.

The usual way to close a command window is to type exit. If you are getting a cancel option it means there is still something running in the command window. By forcing a closure you are terminating whatever it is. If there is nothing running the windows will close without asking for confirmation.

Have a rethink as to what opened the command window in the first place.

Stuart


Report •

#2
January 2, 2012 at 04:14:30
Stuart what I have is a dos executable which I run through the command prompt. When I've finished using it, it offers itself to use again but if there is no need to do so I have to close it by clicking on x. That takes me to End now/cancel option. My intention is to eliminate this last step. I know it can be done because that's how my PC ran before an accident involving mains loss led to Data corruption. I hope this time I am clearer and I thank you for your interest in helping out.

Report •

#3
January 2, 2012 at 04:21:24
If the executable offers a reuse which is declined it should terminate itself. You need to make the application terminate without having to force termination by clicking X

Stuart


Report •

Related Solutions

#4
January 2, 2012 at 05:19:25
Isn't it strange that at times we miss the obvious? Stuart, you are absolutely right and many thanks for your advice.

Report •

#5
January 2, 2012 at 07:53:31
It could be that the program is still working and that is what is is asking about?

1/3 of highway deaths are caused by drunks. The rest are by people who can't drive any better than a drunk.


Report •

Ask Question