1
Reply

ProcessInfo

kzone

kzone

Aug 12 2004 7:19 PM
2.7k
Anyone know how to get the Full Path of a process in the Process List i Tried getting it's start info and .WorkingDirectory but it was all blank. Sample: Process[] xi= Process.GetProcessesByName(proc); ListViewItem fo = applist.Items.Add(xi[0].ProcessName.ToString()); string dir = xi[0].StartInfo.WorkingDirectory.ToString() + xi[0].ProcessName.ToString() + ".exe";

Answers (1)