Warning message.
Moderator: DosItHelp
Warning message.
I have a batch file that does a series of things. I have the '@echo off' at the beginning of the file but I would like those commands to run while a message stating "Please wait" is on the screen. Any help/advice/tips?
-
- Expert
- Posts: 391
- Joined: 19 Mar 2009 08:47
- Location: Iowa
Is something like this what you want . . ?
Code: Select all
@echo off
cls
echo Please wait . . .
do all your other stuff here
echo All finished!
-
- Expert
- Posts: 391
- Joined: 19 Mar 2009 08:47
- Location: Iowa
Re: Warning message.
What I would like is for a series of other commands to run while the user will only sees a MessageBox or warning message saying "please wait". Once the commands are done that msgbox will disappear.
Re: Warning message.
Eagle710
No chance using native batch.
Figure out if this one would work for you:
Regards
aGerman
No chance using native batch.
Figure out if this one would work for you:
Code: Select all
@echo off &setlocal
set "mbox=%temp%\msg.vbs"
set "wTitle=Please Wait..."
>"%mbox%" echo MsgBox "", 0, "%wTitle%"
start "" "%mbox%"
:: This ping line is just an example. Replace with your commands.
ping -n 4 localhost>nul
del "%mbox%"
taskkill /fi "windowtitle eq %wTitle%" /f >nul
pause
Regards
aGerman