Command Prompt

Discussion in 'Windows Desktop Systems' started by DFX, Jun 27, 2003.

  1. DFX

    DFX OSNN Senior Addict

    Messages:
    342
    Location:
    England
    When I type in a command, it runs, and then the window closes itself. Any ideas why?

    Ive tried it using 'ping 192.168.0.3' and 'netstat'
     
  2. Un4gIvEn1

    Un4gIvEn1 Moderator

    Messages:
    1,084
    OR... you can do this...

    cmd /k program.exe

    That causes the window to remain open
     
  3. DFX

    DFX OSNN Senior Addict

    Messages:
    342
    Location:
    England
    Thanks, both work.

    Im sure I didn't have to do that when Ive used it in the past, though. :(
     
  4. Un4gIvEn1

    Un4gIvEn1 Moderator

    Messages:
    1,084
    then you had an add-on that did not require you to. I assure you that it has been that way since Windows 3.x and maybe even before.
     
  5. DFX

    DFX OSNN Senior Addict

    Messages:
    342
    Location:
    England
    OK cheers :)