Is there a way to emulate the unix cut command on windows XP, without resorting to cygwin or other non-standard windows capabilities?
Example: Use tasklist /v, find the specific task by the window title, then extract the PID from that list to pass to taskkill.
FYI, tasklist and taskkill already have filtering capabilities:
If you want more general functionality, batch scripts (ugh) can help. For example:
There's a fair amount of help for the windows command-line. Type "help" to get a list of commands with a simple summary then type "help " for more information about that command (e.g. "help for").