Just for fun - cmd animation
Posted: 25 Feb 2010 14:10
Hi!
Been enjoying the dostips'tips and for fun, I want to make myself a small animation snipple displayed in cmd.exe...
But! I can't find (probably bad use of googleing?) a way to delay execution of next command to under a second. One second delay between the .txt
files is just terrible. Soooo, is there a way?
And the "code" could have a better solution I would think, but I don't know where to begin. Right now I'm doing it like this:
cls
type 1.txt
1 second delay
cls
type 2.txt
1 second delay
cls
But could it be possible to just tell cmd.exe to print all the 'txt files one at a time with x delay in-between and enjoy the show?
-Tudelu Kjell
edit:
I forgot, does a "graphics" library exists for cmd? Would be fun having multiple colours!
Been enjoying the dostips'tips and for fun, I want to make myself a small animation snipple displayed in cmd.exe...
But! I can't find (probably bad use of googleing?) a way to delay execution of next command to under a second. One second delay between the .txt
files is just terrible. Soooo, is there a way?
And the "code" could have a better solution I would think, but I don't know where to begin. Right now I'm doing it like this:
cls
type 1.txt
1 second delay
cls
type 2.txt
1 second delay
cls
But could it be possible to just tell cmd.exe to print all the 'txt files one at a time with x delay in-between and enjoy the show?
-Tudelu Kjell
edit:
I forgot, does a "graphics" library exists for cmd? Would be fun having multiple colours!