Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PROCESS.VCX (API_APPRUN)
Message
 
À
04/06/1999 03:36:51
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00225698
Message ID:
00226445
Vues:
37
Dragan,

The freezip.exe syntax is very similar to that of pkzip but not quiet. The help for the command line is vague and the readme.txt says it will not answer any email regarding the command line syntax. What happened to the days when you got what you paid for? ;-)>>>

I tried the @listfile.txt method from the command line and that didn't work. The only thing that worked from the DOS command line was -@ destination.zip < listfile.txt. That also worked using the VPF RUN command but it doesn't work using API_APPRUN.

I tried every possibility to get this systax to run using API_APPRUN but it never would. I even tried every possible change in the PIF file as well. The reason I used re-direction to begin with was to not have a succession of DOS windows opening and closing. But since you can hide the DOS window with API_APPRUN, what I did was to use the same code that I had in place to build the listfile.txt to run successive zip.exe commands with the same destinatin but different source files; appending each as I go. This works fine and so I've stopped trying to get the DOS re-direction function to work with API_APPRUN.

All in all I'm real happy to have found the API_APPRUN class. It really makes for a much cleaner appeareance and much better control then the Fox RUN command.

Ed

>>In VFP6.0 SP3 I can run the program with the line
>>RUN zip.exe -@ atest.zip < atest.txt
>>
>>The systax is zip
>>In this case the -@ means to take the source from stdin and, using the DOS piping symbol, the stdin is a text file with a list of the files to be zipped.
>
>I've always used this syntax for PkZip:
>
>
pkzip whatever @listfile.txt
>
>No need for any redirection, and should run fine without a window.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform