found 7zip in C:\Program Files\7-Zip\7z.exe if exist E:\buildsystem\release-1916-x64-gdal-3-8-3-mapserver-8-0-1-libs.zip del E:\buildsystem\release-1916-x64-gdal-3-8-3-mapserver-8-0-1-libs.zip 7z a -tzip E:\buildsystem\release-1916-x64-gdal-3-8-3-mapserver-8-0-1-libs.zip E:\buildsystem\release-1916-x64\lib E:\buildsystem\release-1916-x64\include 7-Zip 22.01 (x64) : Copyright (c) 1999-2022 Igor Pavlov : 2022-07-15 Scanning the drive: 1315 folders, 16805 files, 343653637 bytes (328 MiB) Creating archive: E:\buildsystem\release-1916-x64-gdal-3-8-3-mapserver-8-0-1-libs.zip Add new data to archive: 1315 folders, 16805 files, 343653637 bytes (328 MiB) Files read from disk: 16805 Archive size: 68384149 bytes (66 MiB) Everything is Ok xcopy /Y E:\buildsystem\release-1916-x64-gdal-3-8-3-mapserver-8-0-1-libs.zip C:\Inetpub\wwwroot\sdk\downloads E:\buildsystem\release-1916-x64-gdal-3-8-3-mapserver-8-0-1-libs.zip 1 File(s) copied uploadftp "E:\buildsystem\release-1916-x64-gdal-3-8-3-mapserver-8-0-1-libs.zip" downloads