Keep command window open after batch file

Discussion in 'Windows XP Basics' started by Howard Delman, Aug 11, 2003.

  1. Is there a way to keep the command window open after running a batch
    file under WinXP? I want to see the program's messages.

    Under Win98, under "properties" of the batch file, there was a check box
    "close on exit" which could be unchecked to keep the window open. There
    does not appear to be anything similar under WinXP.

    Howard Delman
    --
    Delman Design
    Digital design from conception to production
    http://www.blueneptune.com/~delman
     
    Howard Delman, Aug 11, 2003
    #1
    1. Advertisements

  2. Howard Delman

    Spinner Guest

    Just put "pause" in the batchfile at the end (without quotes).
    It will stop and prompt you to hit any key before closing.


    "Howard Delman" <> wrote in message
    news:...
    > Is there a way to keep the command window open after running a batch
    > file under WinXP? I want to see the program's messages.
    >
    > Under Win98, under "properties" of the batch file, there was a check box
    > "close on exit" which could be unchecked to keep the window open. There
    > does not appear to be anything similar under WinXP.
    >
    > Howard Delman
    > --
    > Delman Design
    > Digital design from conception to production
    > http://www.blueneptune.com/~delman
    >
     
    Spinner, Aug 11, 2003
    #2
    1. Advertisements

  3. Howard Delman

    hajo Guest

    Run your batch file in a dos windows and you can see the
    messages.
    >-----Original Message-----
    >Is there a way to keep the command window open after

    running a batch
    >file under WinXP? I want to see the program's messages.
    >
    >Under Win98, under "properties" of the batch file, there

    was a check box
    >"close on exit" which could be unchecked to keep the

    window open. There
    >does not appear to be anything similar under WinXP.
    >
    >Howard Delman
    >--
    >Delman Design
    >Digital design from conception to production
    >http://www.blueneptune.com/~delman
    >
    >.
    >
     
    hajo, Aug 11, 2003
    #3
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. jonefer
    Replies:
    3
    Views:
    477
    jonefer
    Nov 20, 2003
  2. jonefer

    non functional command when batch calls a batch

    jonefer, Nov 19, 2003, in forum: Windows XP Accessibility
    Replies:
    0
    Views:
    306
    jonefer
    Nov 19, 2003
  3. Guest

    execute rsh from batch file and display command window

    Guest, Dec 15, 2004, in forum: Microsoft Access Form Coding
    Replies:
    1
    Views:
    503
    shar0n82
    Dec 15, 2004
  4. Stephen Rainey

    Save batch window msgs to a file from the batch prog

    Stephen Rainey, Jan 8, 2007, in forum: Windows XP General
    Replies:
    3
    Views:
    601
    Paul Johnson
    Jan 10, 2007
  5. Danger
    Replies:
    7
    Views:
    947
    Pegasus \(MVP\)
    Feb 5, 2008
Loading...

Share This Page