Information générale
Catégorie:
Codage, syntaxe et commandes
>>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,
thanks, but it doesn't work.
Jerry
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement