Escape percent symbol

REM To escape the percent symbol, add another percent symbol
convert inputfilena.jpg -threshold 50%% outputfilename.jpg