Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Capture DOS output from win to Win output
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00115802
Message ID:
00116678
Vues:
19
Hi,

Thank for your advise and help. I appreciated that very much. As for the question of 'how to capture DOS output from win to win output', I actually refer to general DOS program which always open a DOS prompt windows in win95.
That is not what I want. I want the DOS program to run at the background, all it output is capture by me, which I may not want, but only want to read back its return DOS value. I think u disinterpret my question.
As for the zip program, which is better, Dynazip or Xceedzip, why ? I am considering purchase one of the zip program for my company use.

Thank you and have a nice day.

>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.
Best Regards
Virusim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform