Forum Discussion

rajeshthomas's avatar
rajeshthomas
Contributor
13 years ago

How to extract a zip file and Can we hide the password that we enter in script ?

Hi 





Question 1: I have a Zip file with name 1.zip , placed in "D:\Test". Can anyone help me in VB scripting to extract(unzip) this file in the same location. Although i have Winzip in my system, i am unsure that will it be available in the system we going to use this. Is there is any general way to extract without using 3rd party software.





Question 2: I have script to open a folder which has password. But the Test complete script records the password characters.... But i dont want the script to show the password character, Is there any way where we can encrypt this in script. 









        Original is    "Call dlgnewfolder.Edit.SetText("cocunuttree")" 



I need something like  "Call dlgnewfolder.Edit.SetText("********")"


 


Thanks in Advance
  • Can anyone tell how to extract a pssword protected zip without the help of any external file (i.e jar, bat, exe) in vbscript



    need to set the password with code itself with any manual intervention.