Computing.Net > Forums > Windows Vista > Keep cmd open

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Keep cmd open

Reply to Message Icon

Name: gustavito_86
Date: December 27, 2007 at 11:55:03 Pacific
OS: Windows Vista
CPU/Ram: Intel Core 2 Quad Q6600 2
Comment:

I just have a simple question: How can I keep the command prompt open after running a program?

For example I am using a C++ compiler and everytime I run something I can see it for a second on the command propmt and then it closes itself.

Thanks



Sponsored Link
Ads by Google

Response Number 1
Name: XpUser
Date: December 27, 2007 at 12:48:44 Pacific
Reply:

Go to Start \ All Programs \ Accessories \ and click on Command Prompt. This will open a command prompt window that can be closed by either your clicking on the X on the box upper right corner or your typing EXIT.

i_Xp/VistaUser


0

Response Number 2
Name: gustavito_86
Date: December 27, 2007 at 13:00:25 Pacific
Reply:

Thanks for the reply but thats no what I am looking for... I need the command prompt window to stay open after running a batch file for example, I don't want to have to open a new command prompt window.


0

Response Number 3
Name: bellham
Date: December 28, 2007 at 00:00:30 Pacific
Reply:

At the end of the batch file add the command "cmd" or "command" with out the " of course.

Hamish


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows Vista Forum Home


Sponsored links

Ads by Google


Results for: Keep cmd open

Can't open drive keep say format www.computing.net/answers/windows-vista/cant-open-drive-keep-say-format/3901.html

CD-ROM DRiVE KEEPS OPENING www.computing.net/answers/windows-vista/cdrom-drive-keeps-opening/5795.html

Windows Explorer keeps restarting www.computing.net/answers/windows-vista/windows-explorer-keeps-restarting/860.html