Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Run command Failed
Message
De
09/07/1998 12:39:02
 
 
À
09/07/1998 12:25:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00115764
Message ID:
00115799
Vues:
18
>Well a batch file would work, but I'd rather not do it that way since the exestring varies each time based on user input. The app that I'm running has a configuration file that I could store the data in, but as I said it varies, and I'd have to fopen, fget, and fput frequently.. I may wind up having to do it that way, but I'd rather generate 1 string and execute it. Also do you know of a way around the 254 char max for a string?
>Thanks

Does this command work as entered in a DOS box? I thought there was a limit to the command length there. There is no practical limit to a string length in VFP, however a character FIELD can only have a max length of 254.
I think what they meant by combine into one string was to combine the whole thing into one variable (including the "run /N" stuff) and execute that.

lcExecCmd = "run /N " + otherstuff
&lcExecCmd
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform