Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with RUN command
Message
 
À
07/09/2000 09:54:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00413453
Message ID:
00413465
Vues:
15
>Hi,
>I am trying to create a call to external program.
>I created a string with command line options,parameters etc. and then
>call RUN command.
>When I use RUN/N1 &lcCommand everything looks good, but when I did
>RUN &lcCommand, I've got an error message 'String is too long'.
>So, when I use option N1, VFP doesn't check and send it to OS?
>Does anybody have a similar problem?
>TIA

Jerry, try to create the full command string before your execute it.

lcRunCommand = "RUN " + lcCommand && or "RUN/1 " + lcCommand
&lcRunCommand
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform