Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Run cmd
Message
From
07/07/2009 04:50:17
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01410136
Message ID:
01410490
Views:
44
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
Previous
Reply
Map
View

Click here to load this message in the networking platform