How to include graphics with spaces in their path?
Use package grffile
:
\usepackage{graphicx}
\usepackage[space]{grffile}
[ ... ]
\includegraphics[...]{A file with spaces}
Try etoolbox package:
\usepackage{etoolbox}
\makeatletter
\patchcmd{\Ginclude@eps}{"#1"}{#1}{}{}
\makeatother
...
\includegraphics{"file name.eps"}
The macro \Ginclude@eps
is defined in the file dvips.def. It uses \special{PSfile="#1"\space ...
which causes problems if additional "" are used. I patched this, such that it behaves like it was written PSfile=#1
and it worked for me in a test with an eps file with a space in the name and dvips.
A simpler solution would be...
\includegraphics{{"../Current folder/1.This file"}.png}
(For Windows users,) note that the slashes all need to be forward slashes.