pkzip25 myfiles.zip -add this_is_a_long_name.rtf *.txtThis will make archive myfiles.zip with contains file this_is_a_long_name.rtf and all *.txt files in the current folder.
Computer Tips - PKZIP command line version 2.5 finally handles long file names.
Date: 1997Dec14 Updated: 2003aug4 Updated: 2009may13 OS: Windows A. Is there a command-line zip that handles long files names? Q. PKZIP command line version 2.5 finally handles long file names. There is also infozip and cygwin's zip. WinZip does but you can't use it in a batch file. Example use: