View Single Post
  #1  
Old April 11th 06, 09:50 PM posted to microsoft.public.outlook.program_vba
Jonathan
external usenet poster
 
Posts: 49
Default Winzip command line

Hi, I have a procedure that finds a folder and then for each mail item with
an attachment saves the attachment. For attachments that are zip files I then
unpack them. Well attempt to...

I have downloaded winupzip.exe for this purpose and use the line:

intRet = shell("path\winupzip -o path\file.zip path\fileSaveName", vbHide)

When stepping through the code in debug mode this line does not cause any
errors. Yet does not have the desired result.

intRet does return a non-zero value. However, I don't know where to find the
description for this value.


--
Many thanks
Jonathan Parminter
Ads