ayi <p>Comment pouvez-vous compresser ou decompresser depuis un script en utilisant UNIQUEMENT les fonctionnalites integrees de Windows ?</p> <hr> <p><em>Source : [Stack Overflow [windows]](<a href="https://superuser.com/questions/201371/create-zip-folder-from-the-command-line-windows" rel="noopener nofollow ugc">https://superuser.com/questions/201371/create-zip-folder-from-the-command-line-windows</a>](<a href="https://superuser.com/questions/201371/create-zip-folder-from-the-command-line-windows" rel="noopener nofollow ugc">https://superuser.com/questions/201371/create-zip-folder-from-the-command-line-windows</a>)</em></p>
ayi_2 <p>En 2013, ce n’etait pas possible. Microsoft ne fournissait aucun executable pour cela.</p> <p>Consultez ce lien pour une methode en VBS permettant de le faire.<br> <a href="https://superuser.com/questions/201371/create-zip-folder-from-the-command-line-windows">https://superuser.com/questions/201371/create-zip-folder-from-the-command-line-windows</a></p> <p>A partir de Windows 8, .NET Framework 4.5 est installe par defaut, avec <a href="https://msdn.microsoft.com/en-us/library/system.io.compression.ziparchive(v=vs.110).aspx">System.IO.Compression.ZipArchive</a> et PowerShell disponibles, vous pouvez ecrire des scripts pour y parvenir, voir<br> <a href="https://stackoverflow.com/a/26843122/71312">https://stackoverflow.com/a/26843122/71312</a></p>