Created
February 19, 2020 19:47
-
-
Save rainb3rry/2e59622da278af091aa4e50d5269f866 to your computer and use it in GitHub Desktop.
Unzip archive files without dialog box in Visual Basic Script (plain state of https://github.com/jgstew/tools/blob/master/VBS/zipExtract.vbs)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dim strZipFilePath, objOutputFolder, objFSO, objShell | |
Set objFSO = CreateObject("Scripting.FileSystemObject") | |
Set objShell = CreateObject( "Shell.Application" ) | |
strZipFilePath = "C:\Users\x\Desktop\file.zip" | |
objOutputFolder = "C:\Users\x\Desktop" | |
objShell.NameSpace( objOutputFolder ).copyHere ( objShell.NameSpace( objFSO.GetAbsolutePathName( strZipFilePath ) ).Items() ), 1044 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment