You have to provide full file name, ex. cFileZip = "C:\whatever\import\usgen.zip". The same goes for destination directory.
>>Could you post here your code exactly as it is? And please show, on what line the error occurs.
>
>
>cFileZip = "import\usgen.zip"
>cDestination = "import\"
>
>o = CREATEOBJECT("shell.application")
>
>FOR EACH ofile IN o.NameSpace(cFileZip).items
> o.NameSpace(cDestination).copyhere(ofile)
>ENDFOR
>
>
>The error occurs on the FOR EACH line. Any ideas?
--sb--