Ok, I was goofing around on the command line, and I was trying to see if I could use an endless loop to cause a visual effect on the screen. Fooling around with ASCII Art. I started out using timeout /t 1
after each echo
, but that was did not allow the output to swap fast enough, even with the window shrunk into a little 1" x 1" square (w/ small fonts).
Anyway, I wanted to halve that 1 second timeout, and while I was trying to remember what I'd called my batch file that uses VBS's sleep command, I stupidly left out any timeout at all, and of course my machine ground to a virtual halt as that version of cmd.exe grabbed nearly every available cpu cycle.
I've tried to use the graphical taskman.exe
to kill the process, but somehow right clicked on it and now have an uncloseable 2 item context menu, below which flicker all the processes running and which I can't click on or even sort. But even without it I suspect I'd still have trouble using it.
When I try to use TASKKILL.EXE
terminate any process, I get:
ERROR: This operation returned because the timeout expired.
And sometimes get:
ERROR: Server execution failed.
I've searched unsuccessfuly for any information on extending that timeout for the past several hours using just my Nook, and I've nearly given up. I really don't want to just shut it down because there is stuff open I need to save, but it looks like I may have to take my lumps and kill the power.
Any ideas I could use to close that runaway process / eliminate TASKILL
's timeout I'd REALLY appreciate.
EDIT:
Harry wanted to know what code caused this behavior, so I'm adding the code with the suggestion that no one runs it unless they are prepaired to hard-power-off their computer.
I don't recall the exact design I was printing, I tried to save it, but obviously failed, but here is the code:
@for /l %x in (0 0 1) do (
echo.
echo.
echo ASCII Art
echo ASCII Art
echo ASCII Art
echo ASCII Art
echo ASCII Art
echo.
REM @timeout /t 1 > nul
echo.
echo.
echo.
echo ASCII Art
echo ASCII Art
echo ASCII Art
echo ASCII Art
echo ASCII Art
echo.
REM @timeout /t 1 > nul
echo.
echo.
)
C:\` icon in the taskbar but
TASKLIST, when it works, shows two
CMD.EXE` tasks. Obviously one of them, I assumePID 8708
, somehow managed to survive after the window dissapeared.