Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Write directly to command line
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00757650
Message ID:
00757668
Vues:
20
>I am writing a simple app to move some files. the program will be called from the command prompt. Is there any way to dump text to the command prompt from within VFP? I thought of the "run" command, but I don't see any way to simply place text there without the shell trying to run it.
>
>Any ideas are appreciated.

A sample:
* test.prg

*** some code here
ACTIVATE WINDOW COMMAND
KEYBOARD ("USE mytable in 0 ALIAS test")
KEYBOARD "{ENTER}" && if you actually want to open the table
*** some other code here
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform