oShell = CREATEOBJECT("WScript.Shell") lcFileName = GETFILE("pdf") * Enclouse into double quotes to avoid problem with spaces in file name lcFileName = ["] + lcFileName + ["] oShell.Run(lcFileName,1)>Yes I retrieve the filename by Getfile() and the file can be open without problem outside VFP