unzipping files



Thanks to Ron's code http://www.rondebruin.nl/zip.htm
i was able to unzip the files.
However, I need little modification and I am new to VB so i am not quiet
sure how to do so.

here's part of my code:
FileNameZip = "N:\Customer Counts\CEN.zip"
FolderName = "N:\Customer Counts\Tag"
FolderName = "N:\Customer Counts\Tag"
ShellStr = PathWinZip & "Winzip32 -min -e" _
& " " & Chr(34) & FileNameZip & Chr(34) _
& " " & Chr(34) & FolderName & Chr(34)
ShellAndWait ShellStr, vbHide

although it is extracting it to " Tag" folder, there are subfolders listed
so actually, it is extracting it to:
N:\Customer Counts\Tag\dwstage\homedirs\reporting\scripts\data_spool
how would I delete the other folders? i want the files to extract to the
"Tag" folder.

Also, if the file already exist, I want it to overwrite it automatically.

Thank you!

.



Relevant Pages

  • Re: unzipping files
    ... These would both be a function of the command line arguments you furnish to ... > although it is extracting it to " Tag" folder, ... > "Tag" folder. ...
    (microsoft.public.excel.programming)
  • Re: help with Photo gallery please - Follow-up Question
    ... I have found out how to build a search using the advanced search window, and how to save the search to the searches folder. ... You could however try the Group By tag or Sort By tag features in Gallery ... "Trebor chill'n" where Trebor is all the pictures of Trebor and chill'n is ... This would include any photos that you have ...
    (microsoft.public.windows.vista.general)
  • Re: help with Photo gallery please - Follow-up Question
    ... You could however try the Group By tag or Sort By tag features in Gallery ... Then save that search in your Searches folder, give it a good name like ... "Trebor chill'n" where Trebor is all the pictures of Trebor and chill'n is ... This would include any photos that you have ...
    (microsoft.public.windows.vista.general)
  • Re: My Documents>My Music query on displaying album, track, size d
    ... If you mean use my Music Library to tag the ... files with album, track no etc I've already done that in MusicMatch (which I ... they're in a folder called "Zombies. ... If I rightclick, Properties>Summary I get a page that shows all the ...
    (microsoft.public.windowsxp.music)
  • Re: Vista WMP11 - Album art not updated in local library
    ... Also notice that I face several random crashes of WMP11 in Vista. ... the standard library location ("Music" folder) ... already bundled Advanced Tag Editor not like WMP11 more easily. ... album art in same folder as hidden, ...
    (microsoft.public.windowsmedia)

Quantcast