Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Write directly to command line
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00757650
Message ID:
00757668
Views:
12
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform