Change Batch Pause Prompt

Introduction: Change Batch Pause Prompt

In batch the pause command pauses a file but do you want to hide the this file is paused pressany keh to continue or change that message here's how.

Step 1: Hide Pause Prompt

Open notepad and type pause> nul and save the file as pause.bat to hide the pause prompt.

Step 2: Change the Pause Prompt Message

To change stats pause prompt says type
pause> nul | set /p "=MESSAGE HERE" Copy the line above and don't edit it exept where it says MESSAGE HERE and make sure the quotes are included
Note the | sign is a pipe not an L or i its found on the top left side of your keyboard.

Step 3: Contact Me

Share cool codes with me batchcc@gmail.com and check out my other codes here. https://www.instructables.com/member/batchc
Please comment

Be the First to Share

    Recommendations

    • Big and Small Contest

      Big and Small Contest
    • Make It Bridge

      Make It Bridge
    • Game Design: Student Design Challenge

      Game Design: Student Design Challenge

    7 Comments

    1
    Batchcc
    Batchcc

    7 years ago on Introduction

    The pause can be used in any batch file for example

    @echo off

    Cls

    Echo hello

    Pause

    See more tutorials here

    0
    NotePro
    NotePro

    Reply 1 year ago

    > nul is a nice command to hide information.

    0
    EzequielV1
    EzequielV1

    7 years ago on Step 3

    Great tutorial! One small thing though, where should I place the pause.bat file?

    0
    NotePro
    NotePro

    Reply 1 year ago

    Anywhere you want!

    0
    NotePro
    NotePro

    1 year ago

    the pipe symbol is underneath backspace for me.

    1
    Batchcc
    Batchcc

    7 years ago on Introduction

    SSorry the url didn't post https://www.instructables.com/member/batchcc there it is