Send to a Friend
Why won't this batch script work?
I have this batch script, I want it to loop the little animation while a program is running, but it only cycles once and then goes to the next part of the script. How can I get this to work in xp, vista and 7?
echo Windows Media Player 1/11
START wmp11-windowsxp-x86-enu.exe
echo.
:loop
echo INSTALLING WINDOWS MEDIA PLAYER…...........................................^|
ping localhost -n 1 >nul
cls
echo INSTALLING WINDOWS MEDIA PLAYER…...........................................^/
ping localhost -n 1 >nul
cls
echo INSTALLING WINDOWS MEDIA PLAYER…...........................................^-
ping localhost -n 1 >nul
cls
echo INSTALLING WINDOWS MEDIA PLAYER…...........................................^\
ping localhost -n 1 >nul
cls
tasklist|>nul find /i “wmp11-windowsxp-x86-enu.exe”
if errorlevel 1 (
GOTO next
) else (
GOTO loop
)
Using Fluther
or