Switch -EP - exclude paths from names
With this switch, files are added to an archive without including the path information. This could result in multiple files existing in the archive with the same name.
archive without paths all *.bas files from the current disk
WinRAR a -r -ep bsources \*.bas