Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Run cmd
Message
 
 
To
05/07/2009 07:47:05
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:
01410156
Views:
98
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
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform