+ Reply to Thread
Results 1 to 11 of 11
  1. #1
    Senior Member reiss's Avatar
    Join Date
    Jan 2004
    Location
    London UK
    Posts
    537

    Command Prompt windows, close too fast

    hi
    just wondering if anyone knows how to keep command prompt windows from closing right after they open??

    eg. if i type 'ipconfig' into the run command, the CP window opens then closes straight away rendering it useless as i cant read it.

    thanks
    Signature images disabled.

  2. #2
    Retired mostly.
    Join Date
    Oct 2001
    Location
    Finland
    Posts
    5,150
    You can do 'cmd /k ipconfig' or, with the same trouble, just open command prompt and type it there.

  3. #3
    Senior Member reiss's Avatar
    Join Date
    Jan 2004
    Location
    London UK
    Posts
    537
    thanks muno
    i have been using the command prompt to type stuff in, but i really just wanted to find out why these windows open and close instantly.
    Signature images disabled.

  4. #4
    Not Really a Member
    Join Date
    Oct 2001
    Posts
    27,895
    dont run command line utilities from start run.


    do start --> run and type 'cmd'
    It will open a permanent command prompt window that you can type in, and there should be no popping up of windows, or text disappearing too fast.
    Helicopters don't fly; they vibrate so much and make so much noise that the earth rejects them.

  5. #5
    Senior Member reiss's Avatar
    Join Date
    Jan 2004
    Location
    London UK
    Posts
    537
    thanks guys
    i thought it might be a glitch in my PC
    Signature images disabled.

  6. #6
    Supporting our military Bill in SD, CA's Avatar
    Join Date
    Oct 2002
    Location
    Camelot by the Sea
    Posts
    10,063
    This from MS comes in handy.

    A right click in many context menus will add the "Command prompt" to the right click. options.

    Open Command Window Here

    Fourth download on the right.

    I find it very useful.

    Bill
    *****
    The final legacy of the United States will be that in the end liberalism shamed & destroyed the heritage of this great nation. How sad as I see no turning back. When in Rome ..

  7. #7
    Junior Member
    Join Date
    Oct 2008
    Posts
    1
    If your runnning a batch file, try right clicking, going to properties, then under the program tab, uncheck the box which says "close on exit".

  8. #8
    Junior Member
    Join Date
    Nov 2010
    Posts
    2

    add (-k) to program name

    for example

    C:/program.exe >>>> C:/program(-k).exe

    that should keep it open (till you press a button)

  9. #9
    [He who is Nude..] Nude_Lewd_Man's Avatar
    Join Date
    Mar 2007
    Location
    My own little world.
    Posts
    11,764
    That's nice to know, but I think it was already mentioned ~5.5 years ago, and this isn't a problem for them anymore...
    I've seen the light... It was green, flashy and attached to a Network Interface Card...
    Whenever someone says "You can't miss it", I invariably do...

    TechIMO Folding@home Team #111 - Crunching for the cure!IE Team111 FAQs TEAM STATS Apps

  10. #10
    Junior Member
    Join Date
    Nov 2010
    Posts
    2
    @Nude_Lewd_Man

    i stumbled today on a problem like this... found the solution ... it helped... so i though i share it (as it wasn't mentioned as a solution in this thread...)

    if a admin means it doesn't belong...can be easly deleted

  11. #11
    Junior Member
    Join Date
    Aug 2012
    Posts
    1

    Thumbs up Fix

    Here is what I have done:

    1.) Open Notepad
    2.) Copy as follows:

    ipconfig /all > c:\IP.txt
    c:\IP.txt

    3.) Save where you want - 'File > Save As > IP.bat'
    4.) Make sure it is a bat
    5.) Run the bat file

    What this will do first it runs command and saves it to c:\IP.txt then it opens the file - when you close notepad (asuming thats what opens) the cmd window will close - hope this helps.

Quick Reply Quick Reply

If you are already a member, please login above.

What planet do we live on?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Command prompt and custom commands ...
    By Lonely_Rogue in forum General Tech Discussion
    Replies: 7
    Last Post: September 16th, 2003, 06:12 PM
  2. A file specified in the System.ini is damaged
    By Shaku in forum Technical Support
    Replies: 14
    Last Post: August 27th, 2003, 04:33 PM
  3. Cannot rename folder in XP
    By osprey4 in forum Applications and Operating Systems
    Replies: 9
    Last Post: February 26th, 2003, 11:54 PM
  4. Command Prompt Only Please
    By NeoStarO1 in forum Applications and Operating Systems
    Replies: 13
    Last Post: April 15th, 2002, 10:08 PM

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Copyright 2014 All Enthusiast, Inc