Heiko gives an example to handle two adjacent spaces in a file name in SX. In the case of cmd.exe in windows "foo bar.tex" can be compiled by pdftex "\def\x#1{\input \"foo#1#1bar.tex\"}\x{ }" Best, Akira