I need to use the multibib package to create a double bibliography document.
I am currently working with TeXworks 0.4.3 (on Windows 7), but I cannot make the double bibliographies system work.
The MWE is:
\documentclass{report}
\usepackage{natbib}
\usepackage{multibib}
%Secondary bibliography
\newcites{sec}{Secondary contributions}
Text with \citet{primauthor} and \citetsec{secauthor}.
\bibliographystyle{plainnat}
\bibliography{tbib}
\bibliographystylesec{plainnat}
\bibliographysec{tbib}
\end{document}
TeXworks correctly produces the "sec.aux" file... But I don't know how to make it process this file! The multibib package says I should put a for cycle
#!/bin/bash
for file in *.aux ; do
bibtex ‘basename $file .aux‘
done
but I have no idea where to put it... :D
I have tried to make the following test (Thesis is the name of the base tex file):

with no sensible results... any suggestion would be appreciated...