Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Zipping Files
Message
From
25/10/2002 06:25:20
Liam O'Hagan
O'Hagan Programming Ltd
Ireland
 
 
To
25/10/2002 06:06:25
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00715324
Message ID:
00715328
Views:
9
Hi Ger,

How about the following
lcCommand = "c:\windows\pkzip.exe " + m.zipfile + " " + m.fileszipped
Run &lcCommand
Regards,

Liam


>I have a line of code like the following in which I'm trying to zip some files.
>
>STORE 'e:\files\test.zip' TO m.zipfile
>STORE ALLTRIM(&path_name +"*.*") TO m.fileszipped
>RUN c:\windows\pkzip.exe -ex m.zipfile m.fileszipped
>
>If I look through the debugger
>m.zipfile "e:\files\test.zip"
>m.fileszipped "c:\temp\*.*"
>
>But this does not create my zipfile. Not sure whats happening because
>the Dos box flash up to quick to see any errors.
>
>
>Anyone any ideas?
Liam O'Hagan
MCP VFP Desktop Apps
Previous
Reply
Map
View

Click here to load this message in the networking platform