You can use WSH
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/wsMthRun.aspoShell = CREATEOBJECT('WScript.Shell')
oShell.Run(lcMyFile)
or
ShellExecute API #12636.
>I'm probably missing something obvious, but I haven't been able to find an answer to this here or on the Wiki, so a request for help from the more knowledgable:
>
>In a document management type scenario where I want my users to be able to launch (from my VFP application) a selected document of any type in whatever its registered application may be, but I don't know that in advance---is there a way to do it?
--sb--