in reply to Kill a process by name
update: Should not have been...
"written w/o access to man,"
but think you may want
ps -A |grep name
even ps -A should give you the pid associated with the name
under *n*x... but no clue how to make that work on windows.