Tuesday, May 08, 2007

Kill Kazini

How to kill the Kazini Web Development Server

Kazini is a very nice development server, and is a great blessing for programmers, however there are times you wish to neuralize all the kazinis at the same time.
It would not be ne
When you wish to get rid of all the webservices together, kill the Application, test a-new, whatever the reason. (This function wouldn't be needed if when you clicked on the [STOP] button. it would kill the kazinis itself, but since it doesn't:

  • run this little snippet from the command line (Start->Run)
    C:\>taskkill /F /FI "IMAGENAME eq WebDev.WebServer.EXE"

Although they stay visible in the taskbar, they are dead (just move the mouse ober them to see)
this happens because the Windows hasn't yet updated the bar, because it does not monitor the commandline (for obvious reasons)



  • another option would be to save it to a batch file
(everything on the same line)
C:\>echo taskkill /F /FI "IMAGENAME eq WebDev.WebServer.EXE" > c:\KillKazini.bat
then you can run (Start->Run->C:\KillKazini)

  • another option would be to add it to the External Tools menu

in Visual Studio 2005

  1. [Tools]->[External Tools..
  2. Click on [Add]
Title: Kill all Kizinis
Command: %WINDIR%\SYSTEM32\taskkill.exe
Arguments: /F /FI "IMAGENAME eq WebDev.WebServer.EXE"

3. Click [OK]

Now to use:

[Tools]->[Kill all Kazinis]

c you next time

No comments: