Quantcast
Channel: .NET Framework Setup and Servicing forum
Viewing all articles
Browse latest Browse all 3295

Get name of cmd in memory

$
0
0

Hi, i have a batch that every 5 minutes starts some  .cmd files that from inside do some operations and than call an executable, now i want to control that the cmd has finished before starting a new process, using Process.GetProcesses() i get only "cmd" as processName for all cmd files in execution and couldn't find a way to control if a cmd is still in memory or not. Is there a way to get the name of the cmd in memory.

Thanks.


Viewing all articles
Browse latest Browse all 3295

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>