TCC 15.01.52 x64 Windows 7 [Version 6.1.7601]
I've hardly ever used the internal zip feature much but after seeing a post about it here, decided to give it a longer look. I created two one-line text files (file1.txt and file2.txt), then:
Created TEST.ZIP. Then, just to see what the screen would show:
No screen display. Then I tried it again:
... and got this:
The appearance of that error message is intermittent. Sometimes, after creating a brand-new ZIP archive, I run the "zip /f test.zip" command and the error message does not appear.
I ran zip without any arguments. This opened the internal ZIP in "GUI" mode — a window. In the window, I entered only the ZIP file's name and clicked the "Update existing files only" check-box. Same error message appeared.
So I take it the "freshen" command requires file specs in addition to the ZIP file's name. A short note about this in the online help would be worth adding.
But is this a bug?
For the file spec, I used only ".\" — just a test to see what would happen. (Would TCC interpret the ".\" to mean "all files in the current directory"?)
The command actually deleted the existing ZIP file, and then the message appeared: "(SYS) The system cannot find the file specified."
Why would it be deleted? If it's a syntax error, so it goes . . . but deletion? That can't be right.
I've hardly ever used the internal zip feature much but after seeing a post about it here, decided to give it a longer look. I created two one-line text files (file1.txt and file2.txt), then:
zip /a test.zip file*.txt
Created TEST.ZIP. Then, just to see what the screen would show:
zip /f test.zip
No screen display. Then I tried it again:
zip /f test.zip
... and got this:
Usage : ZIP [A:[[-][+]rhsdaecjot] /A /C /D /En /F /I /Ln /M /P /O:[-]adegnrstu /
P /Q /R /S"password" /T /TEST /U /V /YC /Z"..."] ziparchive [@file] file...
P /Q /R /S"password" /T /TEST /U /V /YC /Z"..."] ziparchive [@file] file...
The appearance of that error message is intermittent. Sometimes, after creating a brand-new ZIP archive, I run the "zip /f test.zip" command and the error message does not appear.
I ran zip without any arguments. This opened the internal ZIP in "GUI" mode — a window. In the window, I entered only the ZIP file's name and clicked the "Update existing files only" check-box. Same error message appeared.
So I take it the "freshen" command requires file specs in addition to the ZIP file's name. A short note about this in the online help would be worth adding.
But is this a bug?
zip /a test.zip .\
For the file spec, I used only ".\" — just a test to see what would happen. (Would TCC interpret the ".\" to mean "all files in the current directory"?)
The command actually deleted the existing ZIP file, and then the message appeared: "(SYS) The system cannot find the file specified."
Why would it be deleted? If it's a syntax error, so it goes . . . but deletion? That can't be right.