VBScript Folder name of the extract zip file -


i able unzip file using below codes.

sunzipfolder = abc.zip  set sfilesinzip = objshell.namespace(szipfilenamepath).items objshell.namespace(sunzipfolder).copyhere(sfilesinzip) 

how can figure out name of folder got extracted?

for example: zip file name abc.zip , inside abc zip file contain 1 folder called xyz. after unzipped abc.zip. how capture folder name xyz? xyz folder name changes monthly, because service pack download monthly.

for reason cant use sfilesinzip(0) can enumerate find folder.

for each x in sfilesinzip     folder = x next msgbox folder 

Comments

Popular posts from this blog

sql server - Cannot query correctly (MSSQL - PHP - JSON) -

php - trouble displaying mysqli database results in correct order -

C++ Linked List -