Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Pause with 0 text...  (Read 2056 times)

0 Members and 1 Guest are viewing this topic.

Xeratul

    Topic Starter
  • 100,000th poster


  • Hopeful
  • Experience: Familiar
  • OS: Windows 7
Pause with 0 text...
« on: March 07, 2006, 06:07:58 PM »
I don't like the pause command's text.

 I mean that I would like to take away the "Press any key to continue . . . ".  

Or at least is it possible to modify the text it displays.

Is this possible?
« Last Edit: March 07, 2006, 06:12:15 PM by Wraith112 »

GuruGary



    Adviser
    Re: Pause with 0 text...
    « Reply #1 on: March 08, 2006, 01:14:07 AM »
    You could redirect the PAUSE output to NUL to get rid if it.  Or to change it, you could echo just before it.

    No text:
    Code: [Select]
    @echo off
    pause >NUL

    Modified text:
    Code: [Select]
    @echo off
    echo Press a key when ready
    pause >NUL

    Xeratul

      Topic Starter
    • 100,000th poster


    • Hopeful
    • Experience: Familiar
    • OS: Windows 7
    Re: Pause with 0 text...
    « Reply #2 on: March 08, 2006, 08:16:04 AM »
    Got it!  8-)