I am using 7z command line executable to zip files, but I see that while adding to an archive the path of the files is preserved in the archive.
So if I do
Just add a dot before the path, i.e. 7z a -tzip -r myzip.zip .\Relative\Dir\*
7z a -tzip -r myzip.zip .\Relative\Dir\*