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. Brian

    Open in New Window - window size issues

    Brian, Sep 6, 2003, in forum: Windows XP Basics
    Replies:
    1
    Views:
    300
  2. Glenn Wiens

    Running DOS batch files without DOS window

    Glenn Wiens, Sep 30, 2003, in forum: Windows XP Basics
    Replies:
    2
    Views:
    583
    Glenn Wiens
    Sep 30, 2003
  3. Ian McAllen

    FTYPE command in batch

    Ian McAllen, Oct 15, 2003, in forum: Windows XP Basics
    Replies:
    1
    Views:
    949
    Ben McDonald [MSFT]
    Oct 16, 2003
  4. John
    Replies:
    6
    Views:
    956
    Carrie Garth
    May 18, 2004
  5. Guest
    Replies:
    4
    Views:
    440
    Guest
    Jan 12, 2005
  6. Guest
    Replies:
    3
    Views:
    212
    Guest
    Dec 2, 2006
  7. Guest
    Replies:
    0
    Views:
    220
    Guest
    Mar 5, 2007
  8. Guest
    Replies:
    0
    Views:
    209
    Guest
    Mar 13, 2007
Loading...