Wrote a...
Fainted....Only after sending did I realize it was an old post....Oh my...
[ Last edited by crenel on 2007-4-16 at 04:15 PM ]
Fainted....Only after sending did I realize it was an old post....Oh my...
@echo off
set str=-|/-|/
set f=1
set /a i=1
cls
setlocal enabledelayedexpansion
:test
ping /n 1 127.1>nul
if "%f%" == "1" (
set/p=!str:~%i%,1!<nul
set f=0
if "%i%" == "6" (set/a i=0) else (set/a i+=1)
goto :test
)
:: echo %f% &pause
set/p=<nul
set f=1
goto :test
pause>nul
[ Last edited by crenel on 2007-4-16 at 04:15 PM ]

DigestI