console window:
SetConsoleTitle
Creating a console window for Visual FoxPro application
How to create a service object
Monitoring changes occurring within a directory
Running MSDOS Shell as a child process with redirected input and output (smarter RUN command)