You can buy a copy of WinZip or use open-source 7-Zip . Both have command line versions that will do what you want. Both of them also support the use of the Windows shell as extensions, that is, you can select one or more files from Windows Explorer, right-click and execute the compression settings from the context menu. (Or better than using the drag and drop solution you submitted, BTW.)
Both products contain pretty good documentation on how to use them from the command line, if you choose this option.
With support for 7-Zip support, you Shift + Click or Ctrl + Click to select files, then right-click any of them and select 7-Zip->Add to archive...
in the context menu. You can then check this option to specify path information.
WinZip contains similar functionality from the Windows shell, although I have not used it for many years and cannot give specific instructions.
source share