1. I've just noticed that KZIP won't compress files which have the attribute "hidden". This is somewhat surprising (some may find it even annoying) as many users might have expected KZIP to compress all files in a folder when using the "/r" switch. So if you compress a folder to archive it and then delete it, you might loose some (hidden) files. It would be nice if Ken could modify KZIP so that it would compress hidden files, too.
2. I'd like to use KZIP in batch files, but it seems that KZIP does not support exit codes. It would be fine if there would be the exit code 0 if everything is fine and 1 if there is an error.
Nevertheless, a great tool. Thanks for your work, Ken!
Regards,
Mich
Awesoken at
1. You're right. I noticed PKZIP does not take hidden files by default, while 7-Zip does. I guess it's better to not lose files than to worry about exposing hidden secrets. If you watch what it's compressing, it's not an issue anyway. I updated KZIP today to now include hidden files.
2. KZIP does return error codes. You must be doing something wrong. If you don't believe me, type "echo %errorlevel%" at the NT/2K/XP command prompt after running KZIP. KZIP returns 0 if it successfully created a ZIP file, or -1 in all other cases.
Anonymous at
Awesoken said
1. You're right. I noticed PKZIP does not take hidden files by default, while 7-Zip does. I guess it's better to not lose files than to worry about exposing hidden secrets. If you watch what it's compressing, it's not an issue anyway. I updated KZIP today to now include hidden files.
Great! Thanks.
2. KZIP does return error codes. You must be doing something wrong. If you don't believe me, type "echo %errorlevel%" at the NT/2K/XP command prompt after running KZIP. KZIP returns 0 if it successfully created a ZIP file, or -1 in all other cases.
You're right; there was a flaw in my batch script. Sorry for giving false alarm.
Regards,
Michi
Anonymous at
Negetive one? A batch file can't use a negative number.
Awesoken at
Good point. I just changed PNGOUT and KZIP to return 1 on error instead of -1. I also added REKZIP.BAT to my page.
Anonymous at
Hi,
Thanks for the awesome PNGout - a very helpful tool. But just a small request: please try to provide a small changelog file. I just noticed this new version and wonder whether I need to upgrade. If all you've fixed is the return code, then I wont bother, but currently your releases are somewhat enigmatic! Documentation is a user's best friend. Cheers.