>local lcCmd, lcParams, lcPathReg > >lcPathReg = “c:\pharamcy\” >lcCmd = "REGSVR32" > >lcParams = " /s /u " + lcPathReg > > >DECLARE INTEGER ShellExecute IN SHELL32.DLL ; > INTEGER lnHWnd, ; > STRING lcAction, ; > STRING lcTarget, ; > STRING lcExeParams, ; > STRING lcDefDir, ; > INTEGER lnShowWindow > >lnResult = ShellExecute( 0, 'open', lcCmd, lcParams, "", 1 ) > >This looks more like a rights issue, not Shellexecute. Are you trying to register (or unregister) something? Would the same command work if called from cmd? Also, the quotes on the path look funny and why it is just path only?