## LaTeX forum ⇒ General ⇒ Can't find file error Topic is solved

General information and discussion about TeXnicCenter
tech411
Posts: 3
Joined: Mon Feb 06, 2017 4:21 pm

### Can't find file error

Hello,

I have just installed miktex and texnic center on a new windows 10 computer. When I compile my tex files, I get a " I can't find file .\fileName.tex"

I've tried moving the file but I get the same error.
Last edited by tech411 on Mon Feb 06, 2017 5:48 pm, edited 1 time in total.

Stefan Kottwitz
Posts: 9557
Joined: Mon Mar 10, 2008 9:44 pm
Welcome to the forum!

What is the name of your document file?

Stefan

tech411
Posts: 3
Joined: Mon Feb 06, 2017 4:21 pm
I think I've figured it out. When I remove the spaces and specials characters from the file name, it compiles. I will have to do additional testing to confirm.

Stefan Kottwitz
Posts: 9557
Joined: Mon Mar 10, 2008 9:44 pm
Very good! Avoid spaces and non-ASCII characters in file names but also in file paths.

Though for graphics, the grffile package can help, regarding images with spaces in file names:

`\usepackage{grffile}`

Stefan