found 7zip in C:\Program Files\7-Zip\7z.exe if exist E:\buildsystem\release-1930-x64-dev.zip del E:\buildsystem\release-1930-x64-dev.zip if exist E:\buildsystem\release-1930-x64\install del E:\buildsystem\release-1930-x64\install\*.exe E:\buildsystem\release-1930-x64\install\*.msi E:\buildsystem\release-1930-x64\install\*.bz2 7z a -tzip E:\buildsystem\release-1930-x64-dev.zip E:\buildsystem\release-1930-x64 support\regex-0.12 E:\buildsystem\src\swig\swigwin-1.3.39\swig.exe E:\buildsystem\src\swig\swigwin-1.3.39\Lib Makefile config.opt readme.txt changelog.txt license.txt *.rtf 7-Zip [64] 15.14 : Copyright (c) 1999-2015 Igor Pavlov : 2015-12-31 Scanning the drive: 1370 folders, 17763 files, 499286671 bytes (477 MiB) Creating archive: E:\buildsystem\release-1930-x64-dev.zip Items to compress: 19133 Files read from disk: 17763 Archive size: 125835069 bytes (121 MiB) Everything is Ok xcopy /Y E:\buildsystem\release-1930-x64-dev.zip C:\Inetpub\wwwroot\sdk\downloads E:\buildsystem\release-1930-x64-dev.zip 1 File(s) copied uploadftp "E:\buildsystem\release-1930-x64-dev.zip" downloads