I guess there is no other way of doing this without using WinExec? + if (retval > 32) /* Found */ + { + TRACE("%s/%s => %s/%s\n", lpFile, lpOperation, cmd, lpstrProtocol); + if (*lpstrProtocol) + retval = execute_from_key(lpstrProtocol, lpFile, iShowCmd, is32); + else + retval = (is32) ? WinExec(cmd, iShowCmd) : WinExec16(cmd, iShowCmd); + } __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com