Hello Guru,
Is it possible to do this in batch or vbs on win2003:
When users execute the file, it will show a flashing welcome banner until users press any key, it then will go to the menu
Below is my sample code, but i got stock hope someone helps me
@echo off
:BANNER
cls
color c
echo Welcome!
sleep 1
cls
color e
echo Welcome!
sleep 1
goto :BANNER
:MENU
something.....
Sleep doesn't work in batch.
Anyway, why do you want to do this? What purpose will it serve?
You might be able to do it using the "ping sleep work-around", but again, I don't really understand why you'd want to do this...
An explaination of the "ping sleep work-around":
Useing the ping command in the following way can effectively mimic the desired output of a "sleep" command
ping 1.1.1.1 -n 1 -w 1000
NOTES:
1.1.1.1
MUST BE AN
INVALID IP ON YOUR NETWORKThe number following "-w" is the number of milliseconds to "wait", therefore 1000 = 1 second, 5000 = 5 seconds.
The "pinging 1.1.1.1 with ..." dialog still displays