in reply to Check if a process is running on Windows

You can use Sysinternals PsList for this. See
PsList 1.22 - Process Information Lister Copyright (C) 1999-2002 Mark Russinovich Sysinternals - Usage: pslist.exe [-d][-m][-x][-t][-s [n] [-r n] [\\computer [-u usern +ame][-p password][name|pid] -d Show thread detail. -m Show memory detail. -x Show processes, memory information and threads. -t Show process tree. -s [n] Run in task-manager mode, for optional seconds specifie +d. Press Escape to abort. -r n Task-manager mode refresh rate in seconds (default is 1 +). \\computer Specifies remote computer. -u Optional user name for remote login. -p Optional password for remote login. If you don't presen +t on the command line pslist will prompt you for it if ne +cessary. name Show information about specified process. pid Show information about specified process.
(OT, would it kill CODE tags to wrap at 80 columns instead of 70?)