>how to close a program from it fullpath on W2k or how to know the handle of a program by it fullpath ?
There is a download here on UT that uses the CreateToolhelp32Snapshot function which can record a snapshot of the processes running on the system; from this, you could find a process ID for the process that you wanted to shut down. You would then either enumerate the system windows and use GetWindowThreadProcessId to match a Window to the process ID obtained earlier, and send the Window a WM_CLOSE message, or use OpenProcess to return a handle to the process, requesting the PROCESS_TERMINATE privilege, and call TerminateProcess with the handle that you obtain.
IAC, a not insignificant amount of coding is involved to implement this.