thank you for reply,
i try it no errors no result,
i try as below it works
RUN "sqlldr.exe download/ddd@itdd load_mst.ctl "
>Try
>
>#DEFINE SW_HIDE 0
>lcDir = "c:\qasim\"
>lcCmd = lcDir + "sqlldr"
>lcPrm = "download/ddd@itdd load_mst.ctl"
>DECLARE Long ShellExecute IN "Shell32.dll" ;
> Long hwnd, String lpVerb, String lpFile, ;
> String lpParameters, String lpDirectory, Long nShowCmd
>ShellExecute(0, "", lcCmd, lcPrm, lcDir, SW_HIDE)
>
>
>> i need help to run this code via vfp command button
>>
>> run/n cmd
>>c:
>>cd\qasim
>>sqlldr download/ddd@itdd load_mst.ctl
>>
>>or as
>>c:\qasim>sqlldr download/ddd@itdd load_mst.ctl
>>
>>
>>
>>thanks