Scenario is that I need to see if a vd already exists on my system. If it does not I need it to continue on, if it does, then return. Here is the code that I have:
[code]
try
{
p.WaitForExit();
p.Close();
}
response.Error = ex.Message;
response.StackTrace = ex.StackTrace;
response.Status =
[/code]
The issue is that i do not need a foreach loop. I need to loop through the vd's until it finds my direcotry or hits the end of the list. If my vd is found, then return, if not, then install. What am I missing to get this to find my directory?
Chuck