DECLARE INTEGER FindExecutable IN shell32; STRING lpFile , ; STRING lpDirectory, ; STRING @lpResult * string to hold path to file for which exe is required lcMyFile = "c:\temp\mytest.zip" * string to hold result lcResult = SPACE(250) * find location of associated file lnResult = FindExecutable( lcMyFile, "", @lcResult )I think I found this on http://www.news2news.com/vfp