Reputation: 1957
Is there any function (in Delphi) which can give out the full path and name of a file which is in one of paths in the environment variable Path, for example:
Fn: = FindFileEnv ('my.dll', EnvPath);
that returns for example
Fn = 'c:\windows\system32\my.dll'
Upvotes: 5
Views: 1441