Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Run cmd
Message
 
 
À
05/07/2009 07:47:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01410136
Message ID:
01410156
Vues:
97
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform