Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Run a windows program from within VFP6 app
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
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