i have sth.bat file which launches my java program on compuıter A.
i start this application from computer B by using "psstart \computerA "c:\sth.bat" ".
but i when it comes to kill it in the same way, im limited with the process name. Because when sth.bat is run, i see a cmd.exe and java.exe in process list.
I have to use the process name with "pskill \computerA processName". But i have more than one applications named cmd.exe and java.exe.
How can i solve this problem?