OK, Try the following (including the spaces, which are required)
\def\ip2#1{{\catcode` =11\input{#1}\catcode` =10}}
and I think you will find that \ip2{foo bar baz.tex} will without any trouble.
The best effect can be had by putting that definition in the preamble. The
same approach can be applied to other characters, including ones with the top
bit set (most of which are probably in category 15, so generate nasty
messages). If Andre wants a c cedilla in his file name this approach should
allow him to have it. \ip2 works by temporarily reclassifing space as a
letter. [Reference: "The TeXbook" chapters 7 and 8]
It might also be profitable to chnage some of the top bit set character to
active characters that are \def to appropiate bits of TeX.
Finally, although it is offtopic bit I thoght the french powers that be
abolished cedillas?
--
Duncan (-:
"software industry, the: unique industry where selling substandard goods is
legal and you can charge extra for fixing the problems."