G
Guest
I have a dozen of batch files that execute every 5 minutes on a W2K server
(scheduled tasks).
Unfortunately, every 5 minutes a CMD.EXE process remains forever in the
Processes list (in the Windows Task Manager), which means that one of these
batch programs is blocked or not exiting at all. After 8 or 9 hours the
system is stuck and I need to kill them myself by hand!!!
I need to obtain the PID in which each batch program runs and log it into a
file so I can trace down which program is the one unable to close down.
Does someone know how to obtain the PID from the command line, so I will
change my programs and locate the wrong one?
Thank you a lot.
Stefano Gatto
Geneva, Switzerland
(scheduled tasks).
Unfortunately, every 5 minutes a CMD.EXE process remains forever in the
Processes list (in the Windows Task Manager), which means that one of these
batch programs is blocked or not exiting at all. After 8 or 9 hours the
system is stuck and I need to kill them myself by hand!!!
I need to obtain the PID in which each batch program runs and log it into a
file so I can trace down which program is the one unable to close down.
Does someone know how to obtain the PID from the command line, so I will
change my programs and locate the wrong one?
Thank you a lot.
Stefano Gatto
Geneva, Switzerland