{"version":"1.0","provider_name":"Elipse Knowledgebase","provider_url":"https:\/\/kb.elipse.com.br\/en","title":"Descompactando arquivos ZIP via scripts. - Elipse Knowledgebase","type":"rich","width":600,"height":338,"html":"<blockquote class=\"wp-embedded-content\" data-secret=\"SLh1MySKuv\"><a href=\"https:\/\/kb.elipse.com.br\/en\/descompactando-arquivos-zip-via-scripts\/\">Descompactando arquivos ZIP via scripts.<\/a><\/blockquote><iframe sandbox=\"allow-scripts\" security=\"restricted\" src=\"https:\/\/kb.elipse.com.br\/en\/descompactando-arquivos-zip-via-scripts\/embed\/#?secret=SLh1MySKuv\" width=\"600\" height=\"338\" title=\"&#8220;Descompactando arquivos ZIP via scripts.&#8221; &#8212; Elipse Knowledgebase\" data-secret=\"SLh1MySKuv\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" class=\"wp-embedded-content\"><\/iframe><script type=\"text\/javascript\">\n\/*! This file is auto-generated *\/\n!function(c,l){\"use strict\";var e=!1,o=!1;if(l.querySelector)if(c.addEventListener)e=!0;if(c.wp=c.wp||{},c.wp.receiveEmbedMessage);else if(c.wp.receiveEmbedMessage=function(e){var t=e.data;if(!t);else if(!(t.secret||t.message||t.value));else if(\/[^a-zA-Z0-9]\/.test(t.secret));else{for(var r,s,a,i=l.querySelectorAll('iframe[data-secret=\"'+t.secret+'\"]'),n=l.querySelectorAll('blockquote[data-secret=\"'+t.secret+'\"]'),o=0;o<n.length;o++)n[o].style.display=\"none\";for(o=0;o<i.length;o++)if(r=i[o],e.source!==r.contentWindow);else{if(r.removeAttribute(\"style\"),\"height\"===t.message){if(1e3<(s=parseInt(t.value,10)))s=1e3;else if(~~s<200)s=200;r.height=s}if(\"link\"===t.message)if(s=l.createElement(\"a\"),a=l.createElement(\"a\"),s.href=r.getAttribute(\"src\"),a.href=t.value,a.host===s.host)if(l.activeElement===r)c.top.location.href=t.value}}},e)c.addEventListener(\"message\",c.wp.receiveEmbedMessage,!1),l.addEventListener(\"DOMContentLoaded\",t,!1),c.addEventListener(\"load\",t,!1);function t(){if(o);else{o=!0;for(var e,t,r,s=-1!==navigator.appVersion.indexOf(\"MSIE 10\"),a=!!navigator.userAgent.match(\/Trident.*rv:11\\.\/),i=l.querySelectorAll(\"iframe.wp-embedded-content\"),n=0;n<i.length;n++){if(!(r=(t=i[n]).getAttribute(\"data-secret\")))r=Math.random().toString(36).substr(2,10),t.src+=\"#?secret=\"+r,t.setAttribute(\"data-secret\",r);if(s||a)(e=t.cloneNode(!0)).removeAttribute(\"security\"),t.parentNode.replaceChild(e,t);t.contentWindow.postMessage({message:\"ready\",secret:r},\"*\")}}}}(window,document);\n<\/script>\n","description":"Descri\u00e7\u00e3o: \u00c9 poss\u00edvel descompactar um arquivo ZIP via scripts? Solu\u00e7\u00e3o:Sim, \u00e9 poss\u00edvel. Por exemplo:&#8216;Arquivo zip a ser descompactado:pathToZipFile=&#8221;C:Pasta1MeuArquivoZip.zip&#8221;&#8216;Pasta de destino:extractTo=&#8221;C:Pasta2&#8221;&#8216;Testa se o arquivo existeset fso2 = CreateObject(&#8220;Scripting.FileSystemObject&#8221;)if fso2.FileExists(pathToZipFile) = FALSE&hellip;"}