[tex-live] Problems with TL2014 Windows command line environment

Siep Kroonenberg siepo at cybercomm.nl
Thu Jul 17 12:14:49 CEST 2014


On Wed, Jul 16, 2014 at 09:34:37PM +0100, Philip Taylor wrote:
> 
> 
> keithpickering . wrote:
> 
> >So I'd like to suggest that the TL command line environment no longer
> >use \Windows\system32 as a default directory, but use the user's home
> >directory instead.

Actually, the shortcut does not specify a working directory at all.
Apparently, Windows picks this insane default only in the case of an
admin install on later Windows versions.

A better value for the working directory is %HOMEDRIVE%%HOMEPATH%,
but it is not immediately clear to me how to accomplish this with
the Perl module that we use.

Fortunately, it can be fixed easily by just adding a line

cd /d %HOMEDRIVE%%HOMEPATH%

to <root>/tlpkg/installer/tl-cmd.bat.

If you do not want to do that yourself, you can download a patched
version from

https://www.dropbox.com/s/txnuxpznzvhx3gx/tl-cmd.bat

> Reported previously [1]; no response received.

Sorry about that.

-- 
Siep Kroonenberg



More information about the tex-live mailing list