Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Putting Files into a Winzip using foxpro code
Message
From
19/12/2008 09:41:41
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Putting Files into a Winzip using foxpro code
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01368820
Message ID:
01368820
Views:
65
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
Next
Reply
Map
View

Click here to load this message in the networking platform