Link to home
Start Free TrialLog in
Avatar of Tek Info
Tek Info

asked on

Pop up messages while running script

I have  .bat file which runs various commands once triggered.
At any point during the running of the .bat file I would like to pull up a message
that informs the user at what stage they are at..  just a text which flashes up and says
"Stage 5, ..  and counting down"...
and then I want that text to cut out.. and than at another point of the .bat file I want another text message to display showing
for example "Stage 4 - preparing file"... etc..
Can I insert these pop up messages and keep them up for about 10 seconds while the background script is running?
if yes how can this be accomplished... ?+
ASKER CERTIFIED SOLUTION
Avatar of oBdA
oBdA

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Tek Info
Tek Info

ASKER

Why is a username needed?
Because the message needs to be sent to someone, in this case the user running the script.
%username% will expand to that user name, no need to change anything.
Thanks. .
Is there a way I can remove the OK button?
Nope, sorry.
But then again, it allows the user to click it away if it bothers him ...
MSG is a great builtin choice, but just in case you see something interesting that might be useful to you check out:

Horst Schaeffer's Software Pages

Take a look at WBOX and WBUSY...


»bp
The first message came up and the last one in the script but the ones in between don't but this is fine.