Unable to install TeXLive

Lars Madsen daleif at math.au.dk
Fri Aug 21 15:03:24 CEST 2020

I think it has been a while since the installers/uninstallers have had issues with spaces. But then again we don't know how old this TeXLive is

/Lars Madsen
Institut for Matematik / Department of Mathematics
Aarhus Universitet / Aarhus University
Mere info: http://au.dk/daleif@math<http://au.dk/daleif@imf> / More information: http://au.dk/en/daleif@math<http://au.dk/en/daleif@imf>

From: texhax <texhax-bounces+daleif=imf.au.dk at tug.org> on behalf of Julius Dittmar <Julius.Dittmar at gmx.de>
Sent: 21 August 2020 09:00
To: texhax at tug.org <texhax at tug.org>
Cc: Matthew Elmer <matthewelmer at tamu.edu>
Subject: Re: Unable to install TeXLive

Hi Matthew,

the best fix would be to rename your account name.

This may sound like a fix in the wrong place to you, but there's good reason: The texlive installer will not be the only program choking on the space in your account name.

Spaces have special meaning in commands: They separate command arguments. Thus any path containing your account name (which is any path to any of your files) will be read as at least three different arguments instead of one argument combined. Any work-around making that space-containing path work will only be a local work-around. There will always be places where such work-arounds have been forgotten.

In the long run, you save yourself from a lot of trouble if you change your login name to something without spaces (perhaps use underscores instead or just omit the space) and if you refrain from using spaces in file or directory names.


Julius Dittmar

Am 21.08.20 um 02:04 schrieb Matthew Elmer:

I am unable to install TeXLive. The error is
'""C:\Users\Frijoles' is not recognized as an internal or external command,
operable program or batch file.
My username is "Frijoles Con Arroz", but it looks like the batch file fails to account for users with spaces in their names and I don't know how to fix it. It's probably a simple fix though to someone who knows what they're doing. If nothing else, can you tell me which lines of install-tl-windows.bat I could just hard-code the proper path into? Thanks so much!

Matthew Elmer '22
AERO (CSCE minor)
VP Internal, TAMU AIAA
Texas A&M University

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/texhax/attachments/20200821/2082bf11/attachment.html>

More information about the texhax mailing list.