Failed to ZIP

Dec 11, 2017

we used TCC 17.00.77.

I have a script for zipping a directory and when its done its been deleted, the commands are:

ZIP /R /M "" "example_recursive_folder"

so after zip process is done, i delete the folder (recursive folder):

RMDIR /S /Q example_recursive_folder

The randomally issue is that after zipping the directory its not been deleted.

I wonder if its a bug or maybe i need to use a different command or flages..?
Dec 11, 2017
Hi Charles,

i think that my main error is that a remotly zip is failed and thats why the folder is not deleted
so my issue is:
the zip command return an error ( i assume because its a 6 gb to zip remotly)...and the zip is failed
what is the best way to zip such a big recursive directory and not starting this procces agian when a network issue, distorb it to complete zipping this big folder..?
Aug 23, 2010
Best way is to use archivers(archive formats) better than zip, with explicit big volumes support.
tar, rar, 7-zip.
Dec 11, 2017
Thanks for replay...if thats ok here is the issue:
I tought its a question of 32/64 bit when we talk about Windows and large zipping...any way as about 7Zip
what exactly the recommand flags to zip 6gig recursive directory and what supposed to be the condition to know that zip wasnt broken means like exsit of some flag error to be sure befor i delete this heavy directory after i zip it?
Last edited:
Aug 23, 2010
Not all zips are the same. Just so you know.
The format itself, and its implementations have so many issues, it's best to steer away from it completely.
Arbitrary archive (and included files) length limits (2GB, 4GB, other).
Rather arbitrary support for file names character encodings.
And more.
Dec 11, 2017
Hi AnrDeamon, thannks for replay :)

The procedure of my script is: leave the last 4 big recursive folders and zip the others to anothe OS in some archive folder (7gig~).

I use windows 2012 and TCMD 17.

I have tow issues:
1. Whats the best zip software for zipping this 7 gig like to add a right condition to know if zip succeded or failed?
I use: ZIP /R /M" "%source%"

2. Whats the best completly delete recursive folder like 20gig~
I use: RMDIR /S /Q %source%
Similar threads
Thread starter Title Forum Replies Date
H Takecommand.pdf failed not a pdf file Support 6
C "Failed to update the system registry. Please try using REGEDIT" Support 3
thorntonpg 21.00.15 x64 to .16 failed Support 4
Roedy missing English.dll, failed install Support 2
Alpengreis [TC 17.x] Install with "option /u" failed Support 5
B Take Command x64 15.01.55 Error: Update installation failed Support 7
vefatica IsLicense50.dll failed to register Support 14
vefatica Failed upgrade to build 39 Support 6
Steve Pitts Failed REXX invocation not closing file Support 3
C Documentation Help nix ZIP /M Support 0
I zip /M fails to delete file after adding to zip file Support 2
Joe Caverly 7zip command links to zip help Support 0
T How to? ZIP/7ZIP @listfile with folders Support 2
Joe Caverly UNZIPping older .ZIP files Support 3
M Is the file corrupted? Support 8
C ZIP/U compares wrong timestamp Support 13
C ZIP Support 0
R Fixed Internal ZIP command fails to process multiple files Support 3
vefatica ZIP? Support 13
D Zip errors on large files. Support 4
C ZIP .vs. PkZip Support 21
mikea Questions re: Internal ZIP command Support 5
S How to? Set the timestamp of ZIP command built archive to match latest member Support 8
C ZIP behavior Support 5
Frank ZIP: howto store directory in the zip-file Support 20
vefatica ZIP /U a little screwy Support 9
J zip wrong central directory signature Support 12
C Vince - your FTP'ed's Support 1
ehab aboudaya WAD starting tcmd.exe with dir that has Boost C++ Libraries zip file delays Support 2
T Paths in ZIP Support 1
fpefpe zip command file size Support 1
T Zip and reparse points Support 7
J ZIP Help - minor quibble Support 0
H V12 Zip encryption Support 1
S ZIP support in next version? Support 1
vefatica ZIP's informative output Support 1
D Zip /q Support 0
H ZIP/UNZIP issues Support 4
S Version 11 ZIP /V - Permission denied on Network drive Support 2
Joe Caverly ZIP, UNZIP v11 Beta Support 6

Similar threads