local m.lcfile m.lcfile=getfile() &&shellexecute DECLARE INTEGER ShellExecute IN SHELL32.DLL INTEGER nWinHandle,; STRING cOperation,; STRING cFileName,; STRING cParameters,; STRING cDirectory,; INTEGER nShowWindow result = ShellExecute(0, "print", m.lcfile,"","",1) if m.result<=32 messagebox("Fails") endisame thing with shellexecute and "edit" verb.