Computer Science, asked by samboy8601, 1 year ago

How to override pause command in batch script?

Answers

Answered by Aman1611
1
You could hide the text from the pausecommand by using this:

pause >nul

Then you could echo your own message to tell the user it has paused:

echo The batch file has paused

So the full script might look like this:

@echo off echo Hello World! echo The batch file has paused pause >nul

Hope this helps :)


Anonymous: Hey sorry for everything.......
Anonymous: I am feeling very guilty
Anonymous: Bye bye
ak0915: ok
ak0915: byeee
Anonymous: aman plzzz reply me......
ak0915: tereko toh block kar diee ab kon I'd pe reply karee
Similar questions