Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Zipping Files
Message
From
25/10/2002 06:25:56
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
25/10/2002 06:06:25
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00715324
Message ID:
00715329
Views:
9
>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?

Try :

STORE 'e:\files\test.zip' TO m.zipfile
STORE ALLTRIM(path_name) +"*.*" TO m.fileszipped
lcCommandParms = m.zipfile +' '+m.fileszipped
RUN c:\windows\pkzip.exe -ex &lcCommandParms

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform