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:
00757677
Vues:
17
Sorry, I wasn't clear enough concerning command. I'm thinking of the DOS prompt. The program will be run from the DOS prompt in a batch file and I want it to be able to place a status message there if any problems or if completed.
If you use the run ! command, it tries to execute what is placed in the DOS prompt. I want a simple message to show there without "Bad command or filename" below it. (Actually, how do you put the "Bad command or filename" on the screen? Similar to that.)

Thanks
>>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
>
Steve Howie, owner
DaSH Technology
Denver, CO
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform