MiKTeX and proTeXtI can't find input file

Information and discussion about MikTeX distribution for Windows and the related proTeXt: Installing, updating, configuring
Post Reply
Peppo
Posts: 2
Joined: Wed Nov 10, 2010 1:54 pm

I can't find input file

Post by Peppo »

I installed MikTex2.9 under Windows XP SP3
I create a document firsttest.tex and try to run

latex firsttest.tex

from the folder containing firsttest.tex but the results is the following

I can't find file 'firsttest.tex'

However, if I type the full path:

latex "C:\Program Files\MiKTeX 2.9\testing\firsttest.tex"

then it works fine. How can I run WITHOUT having to type the full path?
Thank you
Last edited by Peppo on Thu Nov 11, 2010 11:49 am, edited 1 time in total.

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

I can't find input file

Post by localghost »

It is far from being recommendable to put your documents inside the TeX installation tree. Instead you should put them where you have your private data and try again.


Best regards and welcome to the board
Thorsten
Peppo
Posts: 2
Joined: Wed Nov 10, 2010 1:54 pm

Re: I can't find input file

Post by Peppo »

I guess I found the solution by myself.
Click
Start\Programs\Miktek 2.9\Maintanance\Settings
select tab Roots
and Add... the folder containing the input file.
This seems made it.

But I must agree with the above too. Not a good choice to put input file into the MikTek directory.
Post Reply