Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Capture DOS output from win to Win output
Message
 
To
09/07/1998 12:41:38
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00115802
Message ID:
00116461
Views:
16
Hi back at you...

You could redirect the output to a text file instead of NUL, and create foxpro code to analyse the output. If you want to show the status or progess of the operation (like % complete, or filename zipped), you'll have to run PKZIP for each file seperately, read the results each time, update the user, and proceed to the next file - cause FoxPro won't be able to read the text file you are redirecting to until the ZIP operation is complete. I used to do it this way in the DOS days....

I recommend you consider a third party ZIP program that'll work with VFP. I use DynaZip - much cleaner!

>Hi,
>
> If I had a dos compressor like pkzip which I use to do compression. But it show the display out in the dos prompt under win95. Althought I can direct the output to nul by using >NUL. How can I capture any dos program output from dos prompt to prevent it from display on screen besides setting the option of mimimize mode and use it result to display in my own application using vfp 5. Any help or suggestion is very much appreciated. Thank you very much.
Kogo Michael Hogan

"Pinky, are you pondering what I'm pondering?"
I think so Brain, but "Snowball for Windows"?

Ideate Web Site
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform