Change Batch Pause Prompt

926

5

3

Posted in TechnologyComputers

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

Share

    Recommendations

    • Spotless Contest

      Spotless Contest
    • Microcontroller Contest

      Microcontroller Contest
    • Space Challenge

      Space Challenge
    user

    We have a be nice policy.
    Please be positive and constructive.

    Tips

    Questions

    3 Comments

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

    The pause can be used in any batch file for example

    @echo off

    Cls

    Echo hello

    Pause

    See more tutorials here

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