Information générale
Catégorie:
Codage, syntaxe et commandes
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
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