Why is it that MikTeX's XeTeX cannot find my file?

Dude, you're right there in the same directory as the file, why can't you see it?!
Why is it that MikTeX's XeTeX cannot find my file?

Dude, you're right there in the same directory as the file, why can't you see it?!
Your document is inside the miktex tree. miktex will not search it there. Documents don't belong in application folders (and the miktex tree is an application folder). Put it in a documentation folder. (Addition: Depending on the concrete location of the document in the texmf tree miktex will perhaps find it if you update the FNDB, but then the next problem will be that it doesn't find the aux or the toc). –
See it as a security feature: Imagine that you try to compile inside the bin-folder a document which generates a file called MiKTeX209-xetex.dll. You can easily do a lot damage with a compilation inside a texmf tree as a compilation has to be able to overwrite files like e.g. toc or pdf.
kpsewhich pikakoe.texsay? – daleif Aug 21 '12 at 10:39;-)I mean, why does it need to "search" it anywhere? I am in the directory where it is; it is of no MiKTeX's concern to search my documents from anywhere. Does not compute. – morbusg Aug 21 '12 at 10:47MiKTeX209-xetex.dll. You can easily do a lot damage with a compilation inside a texmf tree as a compilation has to be able to overwrite files like e.g. toc or pdf. Beside this: even if the document is nearby it must be found, if the current directory is not in the search path then files there are not found. – Ulrike Fischer Aug 21 '12 at 11:01:-)– morbusg Aug 21 '12 at 13:46miktex\config\xetex.ini. Thisinicontains beside others the declarationpath=.. That's why xetex searches also the current directory. If you would remove this line it would no longer work. – Ulrike Fischer Aug 21 '12 at 14:13