GeneralCan't find file error

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

Can't find file error

Post by tech411 »

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.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10321
Joined: Mon Mar 10, 2008 9:44 pm

Can't find file error

Post by Stefan Kottwitz »

Welcome to the forum!

What is the name of your document file?

Stefan
LaTeX.org admin
tech411
Posts: 3
Joined: Mon Feb 06, 2017 4:21 pm

Can't find file error

Post by tech411 »

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.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10321
Joined: Mon Mar 10, 2008 9:44 pm

Can't find file error

Post by Stefan Kottwitz »

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
LaTeX.org admin
tech411
Posts: 3
Joined: Mon Feb 06, 2017 4:21 pm

Can't find file error

Post by tech411 »

It works. Vielen Dank!
Post Reply