Thank you, Mark. Unfortunately, it appears from documentation that the command-line tool "tasklist" is only part of WinXP Professional, but my machines run WinXP Home and Win2K. Perhaps some other shell command? -- Nicolas Cueto