Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RUN/! command failed
Message
De
29/04/2011 10:15:15
 
 
À
29/04/2011 07:05:30
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
01508789
Message ID:
01508817
Vues:
55
Hi Zoran,

you could concat you RUN command (including params) to a string var and evaluate this.

lcParam = [some.exe ] + a1 + [ ] + a2 + [ ] ...
RUN &lcParam

However, with so many params, why dont you create a param file that contains all values and call the exe with one param only and that would be the filename.

>I tried RUN command from within fpw26 with arguments. I have 35 arguments separated with blank. Lenght of &A1+&A2+...+&A35 is aproximately 150 characters
>
>A1 = "AA"
>A2 = "BB"
>...
>A35 = "XX"
>
>RUN Some.EXE &A1 &A2 ... &A35
>
>When I execute command message is "RUN/! command failed"
>
>If lenght of each paramater is 1 "for example"
>
>A1="A"
>A2="B"
>...
>A35="X"
>
>everything is fine.
>
>I tried any combination of /N arguments for RUN command.
>
>What am I doing wrong? Is there a solution?
>Thanks in advance.
Best Regards
-Tom

Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it.

Oh, and BTW: 010101100100011001010000011110000101001001101111011000110110101101110011
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform