Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RUN Command
Message
 
 
À
03/07/2002 14:44:22
Todd Brown
Teachers Credit Union
Granger, Indiana, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00675061
Message ID:
00675074
Vues:
10
This message has been marked as the solution to the initial question of the thread.
You can use ADIR() function instead.
DIMENSION laList[1]
= ADIR(laList, "c:\data\perfmeas\dbf" + MvTmp + "\*.*")
>I am having problems passing a variable through the run command to DOS. I am listing small example of what I am trying to do. The following statement works without any problems
>
>MvTmp = "0531"
>!"dir c:\data\perfmeas\dbf" + MvTmp + "\*.* > tmp.txt"
>
>The problem is when the memory variable is before the dbf. So this works ...\dbf" + MvTmp..., but I cannot figure out how to get this to work ...MvTmp + "dbf\*.*...
>
>Thanks
>Todd
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform