$zip->extractMemberWithoutPaths($y,"Y:\\autoupload\\Site_Dict\\Inbox\\"."$y"); #### mkdir AFCUArchive::Zip::.: Invalid argument [somewhere in Archive::Zip] #### extractMemberWithoutPaths( $memberOrName [, $extractedName ] ) Extract the given member, or match its name and extract it. Does not use path information (extracts into the current directory). Returns undef if member doesn't exist in this Zip. If optional second arg is given, use it as the name of the extracted member (its paths will be deleted too)... #### # read the zip file into $zip, then chdir $path_where_data_should_go or die "Can't get to $path_where_data_should_go: $!"; for my $mbr ( $zip->members ) { $zip->extractMemberWithoutPaths( $mbr ); }