poffin
9 years agoOccasional Contributor
Unzipping .zip files
I need to be able to either inspect the contents of a zip file or unzip the file & then read contents for testing a desktop application. I'm using javascript in my project. Can anyone point me in the right direction?
If you have any more specific details on what you are trying to do and what you have already tried, then perhaps there will be more specific suggestions to offer!
poffin wrote:
I get an error: "ReferenceError ActiveXObject is not defined".
If you use JavaScript (not JScript), replace
var fso = new ActiveXObject("Scripting.FileSystemObject"); ... var objShell = new ActiveXObject("Shell.Application");
with
var fso = Sys.OleObject("Scripting.FileSystemObject"); ... var objShell = Sys.OleObject("Shell.Application");