Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Run a windows program from within VFP6 app
Message
De
13/09/2000 11:25:39
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Run a windows program from within VFP6 app
Divers
Thread ID:
00415851
Message ID:
00415851
Vues:
52
I want to "shell" out of a vfp6 app to run another windows based program. I know the "RUN" command supposedly will do this but it only seems to like DOS based path/command strings. Most of my directories (and others as well) often have names that are longer than 8 characters. Therefore, I can't get the RUN command to work if the target .exe has fullpath that is not DOS compliant.

Is there some newer/other function I should be using instead of RUN. If I should use the RUN command is the correct syntax to put the complete target/path in a variable (i.e. cexe) and then use the "&" function (for example RUN &cexe)? Also, what is the "!" do in the RUN command?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform