Welcome to Intel® Software Network Quick Login | Join | Help |
Search in Intel® Software Network Forums
in Go

Creating a zipped file or folder

Last post 05-18-2008, 2:48 AM by Joerg_Kuthe. 2 replies.
Sort Posts: Previous Next
 05-16-2008, 10:49 AM 30254947  

Creating a zipped file or folder

Hi,

I am trying to create a zip file from a group of files.

I do not want to use 3rd part software but native xp/vista zipfldr.dll option or any other. I am trying to avoid making a .cab file.

Is there a way to run that from inside IVF including using SYSTEMQQ or any other option

What I wish to do is

rundll32 zipfldr.dll outputfileorfolder.zip *.ext

The first two arguments is what I am looking for

Thanks for any options

Regards,

 

Sumit

 
 05-16-2008, 12:33 PM 30254957 in reply to 30254947  

Re: Creating a zipped file or folder

This MSDN Forum thread asks the same thing.  Apparently, there is no way to do it quite as you're asking.  The thread suggests that there is a way to call the shell's COM interface to do it, which would theoretically be possible from Fortran using the Module Wizard.  If I understand the code correctly, one creates an empty ZIP file (you can do this with stream I/O in Fortran) and then asks the Shell to copy files into it.

Steve

Doctor Fortran: intel.com/software/drfortran
 
 05-18-2008, 2:48 AM 30254997 in reply to 30254947  

Re: Creating a zipped file or folder

Hi Sumit,

in case you change your mind, search for ZLIB in this forum and you find a simple way to create a .zip file.

Joerg

 
View as RSS news feed in XML

Shortcuts


Tags For This Post

...

Community Tags

...