Virus

I write this harmless virus program,it can open new folder in desktop and cant delete.
this program running in background and i cant close.
How i close this?
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
 #include <direct.h>
#include <windows.h>
    int main()
    {
      HWND window;
      AllocConsole();
      window = FindWindowA("ConsoleWindowClass", NULL);
      ShowWindow(window,0);
        while(1)
        {
          mkdir("C:/Documents and Settings/USER/Desktop/Virus");
          }
          return 0;
          
    }

Last edited on
Kill its process.

open the task manager, find its process name, then, kill it.
but i cant find it in processes what is virus's image name
most probably the name of the created executable? lulz.
never mind sorry i found virus.exe
Topic archived. No new replies allowed.