Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Putting Files into a Winzip using foxpro code
Message
De
19/12/2008 09:41:41
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Putting Files into a Winzip using foxpro code
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01368820
Message ID:
01368820
Vues:
64
I am seeking a way to put all of the files in my directory/folder (C:\My_Stuff) into a winzip file using or making a winzip file using Visual Fox Pro. I do not want to manual open Winzip and do it manuely, I want to do it using fox pro code. Put all the files in the directory into a winzip file and save it with a file name: "My_Stuff.zip"

I can see the files in my directory/folder using the code below.

gnDbcnumber = ADIR(gaDatabase, '*.*') && Create array

CLEAR
FOR nCount = 1 TO gnDbcnumber && Loop for number of databases
? gaDatabase(nCount,1) && Display database names
ENDFOR

If any has done this I would greatly appreciate your assistance and help on how to accomplish this task.


Thank You in Advance and Merry Christmas and Happy New Year to All.


Winfred Majors
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform