Reputation: 41
I recall seeing an API call or a .NET function where for example if I Start->Run
cmd.exe
it would search the %path% until it locates cmd.exe
So that API would look like
String path = GetFullPathOrWhatever("cmd.exe") // RESULT would be: c:\windows\cmd.exe OR WHEREVER THE SYSTEM WOULD FIND IT
Any ideas which API does this search?
Upvotes: 1
Views: 424