DECLARE INTEGER ShellExecute IN Shell32; INTEGER hwnd, STRING @lpOperation,; STRING @lpFile, STRING @lpParameters,; STRING @lpDirectory, SHORT nShowCmd * lcfile is the filename * lcpath is the working directory * lnshow should be one of the following: #define SW_HIDE 0 #define SW_NORMAL 1 #define SW_SHOWMINIMIZED 2 #define SW_MAXIMIZE 3 #define SW_SHOWNOACTIVATE 4 #define SW_SHOW 5 #define SW_MINIMIZE 6 #define SW_SHOWMINNOACTIVE 7 #define SW_SHOWNA 8 #define SW_RESTORE 9 #define SW_SHOWDEFAULT 10 lcoperation = 'open' && or print lcparms = "" lnresult = ShellExecute(0, @lcoperation, @lcfile, @lcparms, @lcpath, lnshow)Be sure that the declaration matches what shown above. It's sensitive to both spelling and case.