I could do it vertically by for loop in dos like mentioned
@ECHO OFF cls :doagain FOR /L %%A IN (0,1,9) DO ( cls FOR /L %%B IN (0,1,%%A) DO ECHO. ECHO Ashish color %%A ping -n 2 localhost >nul) goto doagain pause
That pause will never be hit I know
I am trying to do the same horizontally
Also does anyone know how to store a keypress and use it
I tried
SET /P keypress= enter any key ECHO keypressed is %keypress%
but I want to access the keyboard buffer or whatever
I want it like at any time it should keep pooling the key
I am using windows xp command prompt so choice wont work
not for any project

New Topic/Question
Reply



MultiQuote


|