Advertisement
Guest User

Untitled

a guest
Feb 28th, 2015
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. Dim sc As New Shell32.Shell()
  2. 'Create directory in which you will unzip your files .
  3. IO.Directory.CreateDirectory("C:UsersNikolajBankeDesktopTestUnzipped")
  4. 'Declare the folder where the files will be extracted
  5. Dim output As Shell32.Folder = sc.NameSpace("C:UsersNikolajBankeDesktopTestUnzipped")
  6. 'Declare your input zip file as folder .
  7. Dim input As Shell32.Folder = sc.NameSpace("C:UsersNikolajBankeDesktopTestpeace.zip")
  8. 'Extract the files from the zip file using the CopyHere command .
  9. output.CopyHere(input.Items, 4)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement