This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012) (format=pdflatex 2012.8.19) 26 AUG 2012 21:02
entering extended mode
\write18 enabled. % <= THIS IS THE IMPORTANT POINT
%&-line parsing enabled.
**test.tex
(./test.tex
LaTeX2e <2011/06/27>
Babel <v3.8m> and hyphenation patterns...
This is pdfTeX, Version 3.1415926-2.3-1.40.12 (MiKTeX 2.9)
entering extended mode
("C:/Documents and Settings/Uporabnik/Desktop/mi ds df/ffgsffsfsfs.tex"
LaTeX2e <2011/06/27>
Babel <v3.8m> and hyphenation patterns for english...
In TeXworks, go to Edit, Preferences and choose the Typesetting tab and then pdfLaTeX. Choose Edit ..., then use the + to add an option, and type '--shell-escape'. OK that, then use the 'Up' arrow to move that about $basename. OK everything, and you should then have shell escape set up.
I have done that before, I have post snape shots in previus posts, altough I use enable write 18, I have also tried with shel escape and it did not change anything.