[tex-live] Passing a valid Windows path and file name to *TeX in TeXlive

Martin Heller mr_heller at yahoo.dk
Tue Jun 10 18:28:50 CEST 2014


Ulrike Fischer wrote, on 10-06-2014 17:47:
>
> In both systems it works to use environment variables:
>
> pdflatex %USERPROFILE%\documents\testtesttest\test
>

That does not work for me. The environment variable is expanded by cmd 
and then I get the same error from pdflatex

set texfileshort=c:\Docume~1

pdflatex "%texfileshort%\test.tex"

This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013/W32TeX)
  restricted \write18 enabled.
entering extended mode
! I can't find file `c:/Docume'.
<to be read again>
                    \protect
<*> c:/Docume~
               1/test.tex
(Press Enter to retry, or Control-Z to exit)
Please type another input file name:
! Emergency stop.
<to be read again>
                    \protect
<*> c:/Docume~
               1/test.tex
!  ==> Fatal error occurred, no output PDF file produced!
Transcript written on texput.log.






More information about the tex-live mailing list