# What are the forbidden characters in file name with XeLaTeX [closed]

I was wondering what are the forbidden characters in file name using XeLaTeX.

I know that the forbidden characters for Windows files are \ / ? : * " > < |

Also, I have found another character that is forbidden by XeLaTeX which is the apostrophe (') because it generated an error.

Anyone knows if there's a list of forbidden characters?

EDIT: I think my problem might be when I call the XeLaTeX in command line

" -output-directory \"C:/Pdf\" \"C:/Pdf/Doe_John_BURCUS Gregoire (F) - 121217.tex\""

MiKTeX doesn't recognize the file name. If I delete the parentheses, MiKTeX is able to generate the pdf.

-

## closed as too localized by Speravir, Werner, Qrrbrbirlbel, Mico, lockstepDec 21 '12 at 2:18

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

may be related Naming LaTeX files: best practice? –  texenthusiast Dec 20 '12 at 15:52
Some characters may be disallowed by the OS; but, for instance, with appropriate quoting, I'm able to input files with all those characters in their name (not on Windows, I admit). –  egreg Dec 20 '12 at 16:16
thanks for your responses, i have edited my question, maybe the source of the problem is my command line –  Paul Dec 20 '12 at 16:47
I don't really know about Windows, but in general it's not a good idea to use file names with spaces in TeX; avoiding special characters is also good practice. –  egreg Dec 20 '12 at 16:51
Though I’m still convinced you used the " not correctly, I see now, that there is really a bug: The xelatex call strips the parentheses, so it will be searched for another file. – And you are lucky, if this not exists! –  Speravir Dec 21 '12 at 0:03