I'm trying to include an image using an absolute path that contains a $-sign, the path looks something like:
\\NETWORKSERVERA\NETWORKDISKB$\FOLDERC\imageD
I've tried encapsulating it in curly brackets, and double quotation marks, but none of this works.
I also tried escaping the dollar sign with \$, this led to the error:
TeX capacity exceeded, sorry [input stack size=5000]
The dollar sign still switches the text to math mode.
MWE
\documentclass[a4paper,twoside,10pt]{article}
\usepackage{graphicx}
\begin{document}
\begin{figure}
\centering
\includegraphics{//NETWORKSERVERA/NETWORKDISKB$/FOLDERC/imageD}
\caption{}
\label{fig:figure}
\end{figure}
\end{document}

$sign should just work. It would only start math mode if you were typesetting something. Youe "MWE" is not a MWE as it is just a fragment that can not be run – David Carlisle Feb 01 '17 at 15:18$can be used in the path. Try creating a local directory with a$sign in it, copy a graphics in it, and include the graphics in your LaTeX file. Do you get an error? – user94293 Feb 01 '17 at 15:19